Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
0
Found in
6000.4.0b9
6000.5.0a7
Issue ID
UUM-135892
Regression
Yes
The name of custom VisualElements is not shown in UI Builder when UxmlFactory is used
How to reproduce:
1. Open the attached project “IN-135458”
2. In the Project window, open the “Assets/UI Toolkit/UIDoc” asset
3. In the UI Builder hierarchy, select “NegativeCircleElement”
4. Press ‘F2’ on your keyboard, enter “test”, then press ‘Enter'
5. Observe the name shown in the Hierarchy
6. Save the file
7. Observe the name shown in the Hierarchy again
Actual result: The given name is not shown
Expected result: The given name is shown
Reproducible with: 6000.4.0a2 (417aa67423b3), 6000.4.0b10, 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.3.10f1, 6000.4.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround: Changing the custom VisualElement to use “UxmlElementAttribute”
Notes:
- Element gets renamed successfully, however the name is not shown in the Hierarchy
- Deprecation warnings are shown in the Console for the affected VisualElement starting with 6000.4.0a1
Add comment
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
Resolution Note:
Thank you for reporting a bug to Unity.
After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.
We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.
Resolution Note (6000.5.X):
Thank you for reporting a bug to Unity.
After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.
We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.