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
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.