Search Issue Tracker
By Design
Votes
0
Found in
6000.0.38f1
6000.1.0b5
6000.2.0a3
Issue ID
UUM-97525
Regression
No
No warnings when creating the selector with the duplicate name
How to reproduce:
1. Create a new Unity project
2. In the Project window, right-click -> Create -> UI Toolkit -> UI Document
3. Open the created UI Document and and create the new .USS file
4. Create a new selector
5. Create another selector with the identical name
6. Observe the results
Expected results: A warning is shown to notify about creating the selector with the existing name
Actual results: A warning is not shown
Reproducible with: 6000.0.38f1, 6000.1.0b5, 6000.2.0a3
Reproducible on: macOS Sequoia 15.3 (M1)
Not reproducible on: No other environment tested
Note: While duplicate names are possible, it might be nice to give this warning for the less experienced users
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
- [iOS] "UnityBatchPlayerLoop()" causes a freeze in the iOS application when it is put to the background and brought back to the foreground
- "Perform Selected" of Shortcut Manager window does not perform the shortcut in some cases
- Crash on mono_get_hazardous_pointer when running Play Mode tests in a specific project
- [iOS] ‘확인’(Done) and '취소'(Cancel) text is displayed as '...' in the on-screen keyboard when the System preferred language is set to Korean
- [sw-unity-6-1] Shadergraph panning area size is constant regardless of the size or the zoom level
Resolution Note:
Duplicate selector strings are supported and have valid use cases due to the cascading nature of style sheets.