Search Issue Tracker

By Design

Votes

0

Found in

2021.3.46f1

2022.3.53f1

6000.0.28f1

6000.1.0a5

Issue ID

UUM-87925

Regression

No

Importing a theme through the Inspector allows importing the same theme multiple times

-

How to reprouduce:
1. Create a new Unity project
2. In the Project window, Create -> UI Toolkit -> TSS Theme File
3. Select the created TSS Theme File
4. In the Inspector, under the "Inherited Themes" click "+" -> Select the Asset 
5. Add the second element to the list and try assigning the same theme as the first time

Expected results: The same theme can't be assigned
Actual results: The same theme can be assigned and applying it doesn't result in any warnings or errors

Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.28f1, 6000.1.0a5

Reproducible on: Windows 10

  1. Resolution Note:

    There's nothing wrong with importing the same theme multiple times. This method could be used to reset certain styles imported in-between the first and second import. We don't plan to limit this in the UI, even if the use cases are limited.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.