Unity Issue Tracker - No warnings when creating the selector with the duplicate name
Closed
UUM-97525
No warnings when creating the selector with the duplicate name
Unity: UI Builder
As Designed
6.2.X
6.1.X
6.0.X
Duplicate selector strings are supported and have valid use cases due to the cascading nature of style sheets.
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