Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.0-preview.18
Issue ID
1409252
Regression
No
[UI Toolkit] USS cannot be applied when being dragged not by its name
Reproduction steps:
1. Open the user's project
2. Open "deneme.uxml" file
3. Drag .deneme (by clicking next to its name) to a button
Expected result: .deneme applies to the button
Actual result: .deneme doesn't apply to the button
Reproducible with: 1.0.0-preview.3 (2022.1.0a5), 1.0.0-preview.18 (2022.1.0a5), Built-in (2021.2.15f1), Built-in (2022.2.0a8)
Could not test with: 2019.4.36f1 (no package), 2020.3.31f1 (instead of UI Toolkit, VS Code is opened)
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note:
This is by design. Dragging from the pill itself should allow the selector to be applied to the element, while dragging from the row should only allow for sorting of the selector in the style sheet panel directly. Of course trying this with a single selector is not helping in the sense that there is nothing visual to hint at that. This is duly noted for a UX refactor of the style sheet panel.