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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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.