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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b11