Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
Votes
0
Found in
2022.1.0a14
2022.1.0a17
Issue ID
1382810
Regression
Yes
Editor crashes on RuntimeStatic<PackageManager::Api,0>::StaticDestroy when closing the Editor
Reproduction steps:
1. Open the attached project "repro.zip"
2. Open Scenes\SampleScene
3. Open 'repro.cs' in Visual Studio
4. Press 'Attach to Unity and Play'
5. Close the Editor
Expected result: Editor closes successfully
Actual result: Editor crashes
Reproducible with: 2022.1.0a14, 2022.1.0b1
Not reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0a13
Notes:
Only reproducible when launching the Editor with -debugallocator launch command
Reproducible with both Visual Studio and JetBrains Rider
Only reproducible on Windows
Stack trace:
0x00007ff77712bb04 (Unity) RuntimeStatic<PackageManager::Api,0>::StaticDestroy
0x00007ff7759dc49e (Unity) RegisterRuntimeInitializeAndCleanup::ExecuteCleanup
0x00007ff775884378 (Unity) RuntimeCleanup
0x00007ff776bf6d18 (Unity) WinMain
0x00007ff777f34302 (Unity) __scrt_common_main_seh
0x00007ff8409b54e0 (KERNEL32) BaseThreadInitThunk
0x00007ff8420a485b (ntdll) RtlUserThreadStart
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b11