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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b11