Search Issue Tracker
Fixed in trunk
Votes
1
Found in [Package]
1.0.0-preview.14
Issue ID
1347331
Regression
Yes
[UI Toolkit] Editor window does not open when changing the .uss file name and renaming it back
How to reproduce:
1. Open the attached project "WindowDoesNotOpen.zip"
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
Comments (1)
-
arvzg
Jul 02, 2021 11:48
Changing the UXML file name also triggers the same bug
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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