Search Issue Tracker
Won't Fix
Won't Fix in 6000.6.X
Votes
0
Found in
6000.0.71f1
6000.3.8f1
6000.4.1f1
6000.5.0b1
6000.6.0a1
Issue ID
UUM-137649
Regression
No
Dragging selector from selector row background shows preview but does not apply class in UI Builder
Steps to reproduce:
- Create a new project using Universal 3D template
- Go to Assets > Create > UI Toolkit > UI Document (UXML)
- Open the created .uxml asset in UI Builder
- Add a Visual Element to the Hierarchy
- Add a new selector (e.g. ".test") with a StylesSheet in UI Builder
- Click the empty space to the right of the selector label and drag it onto the VisualElement
- Observe the behavior
Actual results: A drag preview appears (selector text shown in white), but dropping it onto the VisualElement does not apply the selector/class
Expected results: Dragging the selector from anywhere within the selector row should apply the selector to the Visual Element when dropped, the same way as when dragging directly from the selector label
Reproducible with versions: 6000.0.71f1, 6000.3.8f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Tested on (OS): macOS 26.3 (M1)
Notes:
- The entire selector row highlights when selected, which visually suggests the whole row is interactive and draggable, creating UX inconsistancy
- It is easy to slightly misclick next to the selector label when attempting to drag it, which results in the selector not being applied
- Dragging directly from the selector label (e.g. ".test") works correctly and applies the class to the VisualElement
- Dragging from the empty space to the right of the selector label shows a drag preview but the drop operation has no effect, while dragging from the left has no effect/highlight - I feel like the behavior should be consistant from both sides
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This is not a bug. You cannot assign a "Selector" to an element. You can only assign a Style Class (the pills with yellow text) to elements. When you drag a row, you're dragging an entire selector which just means you can re-order it within the StyleSheet or move to another StyleSheet. Selectors are search queries.
Resolution Note (6000.6.X):
This is not a bug. You cannot assign a "Selector" to an element. You can only assign a Style Class (the pills with yellow text) to elements. When you drag a row, you're dragging an entire selector which just means you can re-order it within the StyleSheet or move to another StyleSheet. Selectors are search queries.