- changed version to 1.0.6.8
PropertyDrawer does not work even if CustomPropertyDrawer (useForChild = true) is created for abstract class
-
What happened?
Create an abstract class and also create CustomPropertyDrawer (useForChildren = true) for that class.
Even if you inherit abstract class, its PropertyDrawer does not work. -
How can we reproduce it?
- Imported Odin and attached UseForChildrenPropertyDrawer.unitypackage.
- Assets / UseForChildrenPropertyDrawer / Scenes / Test Open the scene.
- Select the Test object and check the TestBehaviour in the Inspector.
- PropertyDrawer works when Odin is deleted.
-
What version of Unity are you using?
I confirmed with Unity 5.4.0f3 and 2018.1.0f2.
Other versions have not checked. -
What version of Odin are you using? (See "Tools > Odin Inspector > About")
Odin 1.0.6.8 -
Do you have Editor Only mode enabled?
I have imported Odin and have not changed anything else. -
What operating system are you on?
- Edition : Windows 10 Pro
- Version : 1709
- OS Build : 16299.431
Comments (2)
-
reporter -
- changed status to resolved
This is a known issue that has been fixed in Odin 1.1, which is currently in beta. Due to the deep-reaching nature of the fix as being part of 1.1's new drawer locator system, I'm afraid it's not going to be backported to the 1.0.* patches. If you want to get in on the beta, please send me your Odin invoice ID at tor@sirenix.net, and I'll add you to the beta mailing list and send you the latest build.
- Log in to comment