Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.66f1
6000.3.8f1
6000.4.0b8
6000.5.0a6
Issue ID
UUM-134017
Regression
No
UI Builder adds non-removable built-in class selectors when adding a custom selector via “Add Selector...”
Steps to reproduce:
- Create a new project using Universal 3D template
- Go to Assets > Create > UI Toolkit > UI Document (UXML)
- Open the created UI Document in UI Builder
- Add any element to Hierarchy, e.g. "Toggle"
- Right-click on it and select "Add Selector..."
- In the selector field, type in any name (e.g. ".test") and click enter
- Click on the previously created element ("Toggle") and observe its Style Class List in Inspector
Actual results: "Toggle" elements has ".unity-toggle" selector in the Style Class List and it is not removable
Expected results: "Toggle" elements has ".test" selector in the Style Class List and it is removable
Reproducible with versions: 6000.0.66f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Tested on (OS): Ubuntu 24.04, Windows 11
Note:
- Reproduces across multiple UI Toolkit controls, not limited to Toggle
- The built-in class appears to override or replace the custom selector added via “Add Selector...” and cannot be removed from the Style Class List
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor hangs when a huge mesh is used for CanvasRenderer
- ChildSafetyHandles grow indefinitely when repeatedly creating and disposing NativeLists with a long‑lived custom allocator
- My Assets in Package Manager appear empty when the search is cleared and the tab is switched
- Test Shader appears twice in Material Shader selection menu
- "CustomPass.injectionPoint" returns "AfterPostProcess" when a global CustomPass is registered with "BeforeRendering" in HDRP
Add comment