Search Issue Tracker
Fixed
Fixed in 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Votes
0
Found in
6000.0.44f1
6000.1.0b12
6000.2.0a7
Issue ID
UUM-101504
Regression
No
Data Bindings are lost when UIElements are reparented without a delay
How to reproduce:
1. Open attached “IN-97312” project
2. Open the “SampleScene”
3. Select “UIDocument” in the Hierarchy
4. In the Inspector find the “Test” Script Component
5. Make sure “Copy To Container” property is set to true
6. Enter Play mode
7. Observe the Game view
Expected result: Label’s text field says “Peter”, after a delay gets reparented to a different VisualElement and says “Smith”
Actual result: Label’s text field says “Peter”, after a delay gets reparented to a different VisualElement and says “Peter”
Reproducible with: 2023.2.0a18, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7
Couldn’t test with: 2022.3.60f1, 2023.2.0a17 (Data Bindings not introduced)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- In the Script Component if “Copy To Container” property is set to false, text field changes from “Peter” to “Smith”
- In the Script Component if “Add Delay” property is set to true, Label’s text field changes to “Smith” after Label is reparented to the different VisualElement
- If the Awake method is not asynchronous, all Bindings are lost when Label is reparented to the different VisualElement
- Also reproducible in Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Add comment