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
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Infinite inertial tensor rotation values are not discarded (both AB and RB)
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b11