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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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