Search Issue Tracker
Fixed in 2021.3.18f1
Fixed in 2021.3.X, 2022.2.X, 2022.2.6f1
Votes
1
Found in
2020.3.35f1
2021.3.3f1
2022.1.0a5
2022.2.0a13
Issue ID
UUM-637
Regression
No
Editor freezes on recompilation when Custom window that references a VisualElement is open
How to reproduce:
1. Open the "case_1355141" project
2. Open the "Window > Asset Hive" custom EditorWindow
3. Write a comment anywhere in any custom script file in the project
4. Observe the Editor behaviour
5. Observe the Console Window output
Expected result: the Editor doesn't freeze
Actual result: the Editor freezes, and after a minute of freeze, error messages appear in the Console window
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Note: the custom window includes a property that derives from VisualElement. During assembly reload that property is serialized, even though it is private. This puts the window into a bad state freezing the editor. Putting the \[System.NonSerialized] attribute on the property avoids the freeze by making sure it is never serialized during assembly reload.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment