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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b11