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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.