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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.