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
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
- Warnings thrown when computing Positions in a 2D BlendTree are not helpful to the user
- Warnings thrown when adjusting Time Scale to Homogenous Speed in a BlendTree are not helpful to the user
Add comment