Search Issue Tracker

Fixed in trunk



Found in [Package]


Issue ID




[UI Toolkit] Editor window does not open when changing the .uss file name and renaming it back

Package: UI Toolkit


How to reproduce:
1. Open the attached project ""
2. Rename the UIElementsTest.uss file (Assets > Editor)
3. Click Window > UI Toolkit > UIElementsTest
4. Observe expected ArgumentNullException
5. Rename the UIElementsTest.uss file to its original name
6. Click Window > UI Toolkit > UIElementsTest

Expected result: The window opens
Actual result: The window does not open

Reproducible with: 1.0.0-preview.14 (2020.3.14f1, 2021.1.14f1), 2021.2.0b2, 2022.1.0a1
Not reproducible with: 1.0.0-preview.3 - 1.0.0-preview.13 (2020.3.14f1)

Workaround: reload the Editor layout

  1. Resolution Note (fix version trunk):

    Fixed in 2022.1.0a4
    Fix only applies to newly created files, files created before the fix will still experience the same issue

Comments (1)

  1. arvzg

    Jul 02, 2021 11:48

    Changing the UXML file name also triggers the same bug

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.