-
- Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When drawing an array of serializable classes (as SerializeField) that contains a SubclassSelector, the property height does not update immediately when changing the type. The weird part is that logging "Debug.Log(EditorGUI.GetPropertyHeight(property,true));" did show it updating immediately. I also wrote my own Custom Property Drawer which does not have this issue, though I cannot figure out why. I have attached a video of the issue.
bandicam.2022-03-28.09-34-47-997.mp4
Here is a video of my version without the issue:
bandicam.2022-03-28.10-03-44-584.mp4
and the code:
https://gist.github.com/chadefranklin/cd2e6c4d89928ce25274395ff8690f9a
Package Version
1.1.2
Unity Version
2020.3.30f1
mackysoft
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working