Unity Issue Tracker - Importing a theme through the Inspector allows circular import
Closed
UUM-87916
Importing a theme through the Inspector allows circular import
Unity: UI Toolkit Framework
Won't Fix
6.1.X
6.0.X
2022.3.X
2021.3.X
This is a minor inefficiency in the workflow. There doesn't seem to be a risk of actually creating a circular dependency. Given our other priorities, this is too minor for us to address at this time.
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. Observe the Assets for selection
Expected results: The list of available Assets doesn't allow to select the same Asset and create a circular import
Actual results: The list allows to select the same Asset and on "apply" this produces the warning and deletes the import