A recurring crash issue in the Unity Editor has been observed, affecting various workflows. These crashes have been reported to happen when:
- Modifying scripts
- Saving scripts
- Deleting scripts
- Closing Unity after modifying/deleting scripts
Reproducible with versions: 6000.4.0b5 - 6000.4.11f1, 6000.5.0a8 - 6000.5.1f1, 6000.6.0a2 - 6000.6.0a6 (Sentry Data)
Reproducible on: Windows 10, Windows 11
Notes:
- Not reproduced by CQA
- Sentry only collects data for Windows crashes, so we are not able to determine if the issue is reproducible on other environments
First few lines of stacktrace:
0x00007FFCF4216CAD (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3259] mono_jit_runtime_invoke
0x00007FFCF41591D4 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke
0x00007FFCF41592C0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke
0x00007FFCF839EE35 (Unity) scripting_method_invoke
0x00007FFCF83C78F6 (Unity) ScriptingInvocation::Invoke
0x00007FFCF83C23B5 (Unity) ScriptingInvocation::Invoke<void>
0x00007FFCF5FFD789 (Unity) Scripting::UnityEditor::SelectionProxy::Internal_NonSelectedObjectWasDestroyed