Search Issue Tracker
Fixed in 2021.3.19f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a21
Votes
1
Found in
2021.3.0f1
2022.1.3f1
2022.2.0a13
2023.1.0a1
Issue ID
UUM-4165
Regression
Yes
PropertyField.BindProperty(SerializedProperty) fails to clear the previously bound property when a new one is bounded
How to reproduce:
1. Open the attached project "PropFieldBug.zip"
2. Open "SampleScene" located in the Assets > Scenes folder
3. Click on the "Track3" GameObject in the Hierarchy window
4. Click on any id of the Path System Track component in the Inspector window
5. Check the Console window
6. Repeat steps 4 and 5 a few times
Expected result: PropertyField.RegisterValueChangeCallback() event is called once every time an id is pressed
Actual result: PropertyField.RegisterValueChangeCallback() is called incrementaly(+1) every time the id is pressed
Reproducible with: 2021.2.0a15, 2021.2.0b15, 2022.1.0a11
Not reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0a14
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
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a21
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b10
Resolution Note (fix version 2021.3):
Fix for 2021.3.X: PropertyField.BindProperty(SerializedProperty) fails to clear the previously bound property when a new one is bounded