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
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
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