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

UI Builder

-

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

  1. 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.

  2. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.