PropertyDrawer does not work even if CustomPropertyDrawer (useForChild = true) is created for abstract class

Issue #330 resolved
Masatoshi Suzuki
created an issue
  1. 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.

  2. 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.
      ScreenShot1.png
    • PropertyDrawer works when Odin is deleted.
      ScreenShot2_Odin_deleted.png
  3. What version of Unity are you using?
    I confirmed with Unity 5.4.0f3 and 2018.1.0f2.
    Other versions have not checked.

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

  5. Do you have Editor Only mode enabled?
    I have imported Odin and have not changed anything else.

  6. What operating system are you on?

    • Edition : Windows 10 Pro
    • Version : 1709
    • OS Build : 16299.431

Comments (2)

  1. Tor Esa Vestergaard

    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.

  2. Log in to comment