Search Issue Tracker
Fixed
Fixed in 6000.4.0a1
Votes
0
Found in
6000.4.0a1
Issue ID
UUM-116734
Regression
Yes
UIBuilder loses reference to VisualTree after entering playmode
Description
The VisualTreeAsset of a new UIBuilder is destroyed after entering playmode and never restored.
Initial setup
None
Reproduction steps
1. Open the UIBuilder
2. Create a new document
3. Add a VisualElement
4. Enter play mode
5. Stop play mode
6. Try to add a new VisualElement
Expected behaviour
Everything works are normally. The VisualElement is not greyed out in the Hierarchy view and the inspector display all the attributes of the selected VisualElement.
Actual behavior
4. The VisualElement is greyed out in the Hierarchy view. In the inspector, the attributes are lost.
6. An exception occurs when trying to add a new VisualElement because there is no VisualTreeAsset anymore.
Logs and Links
(Add links to Yamato jobs, links to logs, and add a stack trace in this section)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment