Search Issue Tracker
In Progress
Fix In Review for 6000.0.X, 6000.1.X, 6000.2.X
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Add comment