Odin inspector does not respect custom attribute PropertyDrawer made in Unity way

Issue #619 resolved
Dmitry Victorov created an issue

1. What happened?

Odin inspector does not respect custom attribute PropertyDrawer made in Unity way.

2. How can we reproduce it?

Create your own PropertyAttribute derived class and implement ProperyDrawer for it in standard Unity way.

Create a MonoBehaviour derived class with a serialized field that has above attribute applied.

Look in the inspector to ensure Odin draws the field in its own way and does not respect custom attribute drawer.

3. If screenshots would help explain or demonstrate your issue, please include these.

4. What version of Unity are you using?

Unity 2019.3.0f3

5. What version of Odin are you using? (See "Tools > Odin Inspector > About")

2.1.8

6. Do you have Editor Only mode enabled?

No

7. What operating system are you on?

macOS Mojave 10.14.6

PS

There is a project with an issue attached. Open SampleScene there and highlight GameObject in the Hierarchy.

Comments (2)

  1. Tor Esa Vestergaard

    Thanks for the issue report! This regression has been resolved in an impending patch 2.1.9 that will be released soon. Meanwhile, please downgrade to Odin 2.1.7 where this issue is not present, or contact me on our Discord server to receive a preview build of the next patch :)

  2. Log in to comment