Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.6.0a1
Issue ID
UUM-137251
Regression
Yes
"Exception: The visual element must be part of a VisualTreeAsset..." error and "Can not reference a temporary element" warnings when right-clicking UI Document elements with Hierarchy Integration enabled
Steps to reproduce:
- Create a new project using Universal 3D template
- In Project Settings > UI Toolkit, enable "Enable Hierarchy Integration"
- In Preferences > General, enable "Use new Hierarchy window"
- In the Hierarchy, right-click > UI Toolkit > Panel Renderer
- In the Inspector, click "New" in the "Panel Renderer" Component and open it in UI Builder
- Add a "List View" element to UI Builder Hierarchy
- Save and Close UI Builder
- In the Hierarchy, fully expand the "Panel Renderer" GameObject
- Right-click on the "NewUXMLTemplate.uxml" or any other child GO
- Observe the Console
Actual results: "Exception: The visual element must be part of a VisualTreeAsset to create a reference." errors when clicking on .uxml GO, and "Can not reference a temporary element (ScrollView)." warnings when clicking on child GOs
Expected results: No errors or warnings
Reproducible with versions: 6000.6.0a1
Not reproducible with versions: 6000.3.11f1, 6000.4.0f1, 6000.5.0a9
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment