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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment