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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment