1. What happened?
While creating a custom editor, I needed for it to be able to show data from another object (ScriptableObject), so I created a PropertyTree from this other object and was drawing it in the custom editor. This works fine, except for the collection drawer, which does not do any modifications at all, the add and remove buttons do nothing and the object isn’t marked as dirty.
2. How can we reproduce it?
In the attached project, a TestObject has a Test component which uses the TestComponentEditor. This editor tries to take a reference to the TestScriptableObject and draw it by creating a PropertyTree from it. This does draw the contents, but the list cannot be modified. Pressing the plus button does nothing.
4. What version of Unity are you using?
The unity version used is 2019.4.0f1
5. What version of Odin are you using? (See "Tools > Odin Inspector > About")
Odin version is 2.1.12
6. Do you have Editor Only mode enabled
7. What operating system are you on?