Search Issue Tracker
By Design
Votes
0
Found in
2021.3.44f1
2022.3.50f1
6000.0.23f1
Issue ID
UUM-84246
Regression
No
SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
Reproduction steps:
1. Open the attached “Test The Callbacks.zip” project
2. Open the “SampleScene”
3. Select the “Script 2 Object” GameObject from the Hierarchy
4. Observe the Console
Expected result: No events are logged
Actual result: Most properties from the script are logged as “has changed”
Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note:
- In the provided example SerializedPropertyChangeEvent is registered directly on the root of the UI, but issue also reproduces when binded directly on the correct GameObject
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Change events are sent when PropertyFields are bound to their SerializedProperty, mainly to inform that the binding is done and the property is available if users want to store a copy for example. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.