Search Issue Tracker

Fixed

Fixed in 2022.3.47f1, 6000.0.20f1, 7000.0.0a2

Votes

0

Found in

2022.3.43f1

6000.0.16f1

Issue ID

UUM-78569

Regression

No

PropertyField Label does not update when changing the value in a SerializedPropertyChangeEvent

--

-

How to reproduce:
1. Open the attached Project "UTKTestFINAL.zip" and load Scene "SampleScene"
2. In the Hierarchy select "GameObject"
3. In the Inspector expand the Foldout of the "Test" Component
4. Toggle the "Replace String Is From Key" value
5. Observe the Labels of the other Properties in the Component

Expected result: All Labels change when toggling "Replace String Is From Key"
Actual result: The first Label does not get updated

Reproducible with: 2022.3.43f1, 6000.0.16f1
Could not test with: 2021.3.43f1 (Foldout is not displayed properly)

Notes:
- Unselecting the GameObject in the Hierarchy and selecting it again correctly updates the labels
- The Label that does not update has its value set directly through PropertyField.label, while the one that gets updated is set through PropertyField.Q<Label>().text

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.