Search Issue Tracker
Fixed
Fixed in 2021.3.18f1, 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
- [VFX Graph] HSLS Redefinition error when input have the same name as attributes
- [VFX Graph] HLSL VFXFIXED_RAND isn't working
- Crash on Meta Quest 2 when using Vulkan
- Greyed out Icon for Tool Context is misaligned in the Tools Overlay in the URP 3D Sample Template
- HDR colors are recorded in gamma compressed values instead of linear values when using the Animation window
Add comment