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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.