- changed status to open
Serialized fields that are exposed in readonly properties are editable
Unity 5.6.0f3. Odin 1.0.0.3.
Image of issue and project attached. Project includes Odin 1.0.0.3 already in it.
When using the ShowInInspector and ReadOnly attributes on a property that returns a field marked as SerializeField, the base property draws as ReadOnly, but the field that the property returns is editable.
Opening the project I have attached and opening the "Problem" scene you will see the issue on the gameobject that is in the hierarchy.
Comments (5)
-
-
Deleted zip file containing Odin
-
reporter Hello. Just an FYI, the zip file didn't just contain Odin, it contained the project to show how to replicate the issue.
-
Yeah no worries got them on my desk and looking at them :). The examples are clarifies the issue very well, thank you!
But the zip also contained the Odin Inspector plugin, but no worries, i doubt anyone discovered that
-
- changed status to resolved
This is fixed in the next patch.
- Log in to comment
Thanks for the report, we'll be looking into this.