Search Issue Tracker
Duplicate
Votes
0
Found in
6000.1.14f1
6000.2.1f1
Issue ID
UUM-115599
Regression
Yes
Crashes related to MonoManager::ExtractStackTraceQuick
This case is created based on user reports on the forums, user debugging is here [https://discussions.unity.com/t/constant-crash-unity-menuservice/1672600/46] *
According to the users on forums this is regression:
- not reproduces on 2022.3 and 6000.0.28f1
- reproduces on 6000.1.14f1 and 6000.2.0f1
Important: I can reproduce it on 6000.2.0f1, but can't reproduce on 6000.2.1f1, so most probably it was fixed in this version.*
Steps to reproduce:
- Open the attached project in 6000.2.0f1
- Go to Assets\New folder
- Click RightMouseButton->Create->Scripting->ScriptableObject Script
- Next focus out from Editor windows and wait for the script Compilation/Domain Reload to finish
- The Editor hard crash should happen or the Import Worker should crash
- If crash haven't happened - do steps 3-4 again
(I attached the video with repro steps in the comment)
Actual results: Editor hard crash happens or the Import Worker crash
Expected results: There should be no crashes
Reproducible with versions: I myself reproduced on 6000.1.15f1 and 6000.2.0f1
Not reproducible with versions: I myself tested and couldn't reproduce on 6000.2.1f1 and 6000.2.2f1. Also I couldn't reproduce on 6000.3.0a5, but the project was a bit broken after upgrade, so I am not sure the repro steps are reliable in that case.
Can’t test with versions:
Tested on (OS): Windows 11
Notes:
- The workaround to stop crashes is to set Stack Trace Logging -> All to “None”
{quote}========== OUTPUTTING STACK TRACE ==================
0x00007FF8C95BDEF3 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:4225] collect_frame_text 0x00007FF8C9514AB9 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\loader.c:1700] stack_walk_adapter 0x00007FF8C9735F95 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-exceptions.c:1393] mono_walk_stack_full 0x00007FF8C9735941 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-exceptions.c:1208] mono_walk_stack_with_ctx 0x00007FF8C95BE21C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\threads.c:4279] mono_unity_managed_callstack 0x00007FF908174D59 (Unity) MonoManager::ExtractStackTraceQuick 0x00007FF9073C2CCE (Unity) Debug_CUSTOM_ExtractStackTraceNoAlloc 0x000001FB09EE0B68 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Debug:ExtractStackTraceNoAlloc_Injected (byte,int,UnityEngine.Bindings.ManagedSpanWrapper&) 0x000001FB09EE0A23 (Mono JIT Code) UnityEngine.Debug:ExtractStackTraceNoAlloc (byte,int,string) 0x000001FB09EE0633 (Mono JIT Code) UnityEngine.StackTraceUtility:ExtractStackTrace () 0x000001FB0705DB45 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_object (object,intptr,intptr,intptr) 0x00007FF8C9646C4E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007FF8C9588604 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke 0x00007FF8C95886F0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke 0x00007FF9081AF4A4 (Unity) scripting_method_invoke 0x00007FF908187393 (Unity) ScriptingInvocation::Invoke 0x00007FF9081829A7 (Unity) ScriptingInvocation::Invoke<core::basic_string<char,core::StringStorageDefault<char> > > 0x00007FF9083065CF (Unity) Scripting::UnityEngine::StackTraceUtilityProxy::ExtractStackTrace 0x00007FF908174B62 (Unity) ExtractMonoStacktrace 0x00007FF909A7D9C2 (Unity) DebugStringToFile 0x00007FF9073C0808 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x000001FB09EE04ED (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Bindings.ManagedSpanWrapper&,intptr) 0x000001FB09EE03A3 (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x000001FB09EDFADB (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x000001FB09EDF820 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x000001FB09EDF654 (Mono JIT Code) ImmersiveVrToolsCommon.Runtime.Logging.LoggerScoped:LogInternal (UnityEngine.LogType,object) 0x000001FB09EDF5A3 (Mono JIT Code) ImmersiveVrToolsCommon.Runtime.Logging.LoggerScoped:LogWarning (object) 0x000001FB09EDEDEB (Mono JIT Code) [.\LocalPackages\FastScriptReload\Assets\Scripts\Editor\FastScriptReloadWelcomeScreen.cs:985] FastScriptReload.Editor.FastScriptReloadWelcomeScreenInitializer:EnsureUserAwareOfAutoRefresh () 0x000001FB09EDE77B (Mono JIT Code) [.\LocalPackages\FastScriptReload\Assets\Scripts\Editor\FastScriptReloadWelcomeScreen.cs:959] FastScriptReload.Editor.FastScriptReloadWelcomeScreenInitializer:InitCommon () 0x000001FB09EDDD3B (Mono JIT Code) [.\LocalPackages\FastScriptReload\Assets\Scripts\Editor\FastScriptReloadWelcomeScreen.cs:940] FastScriptReload.Editor.FastScriptReloadWelcomeScreenInitializer:.cctor () 0x000001FB06F70B15 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x00007FF8C9646C4E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007FF8C9588604 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke 0x00007FF8C95834C5 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:563] mono_runtime_class_init_full 0x00007FF8C94B9F47 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1292] ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor 0x00007FF8C94ECADC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\icall-def.h:756] ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor_raw 0x000001FB0714B5FA (Mono JIT Code) (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (intptr) 0x000001FB0714B4EB (Mono JIT Code) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) 0x000001FB07147153 (Mono JIT Code) UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[]) 0x000001FB070F4C48 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object (object,intptr,intptr,intptr) 0x00007FF8C9646C4E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007FF8C9588604 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke 0x00007FF8C95886F0 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke 0x00007FF9081AF4A4 (Unity) scripting_method_invoke 0x00007FF908187393 (Unity) ScriptingInvocation::Invoke 0x00007FF908182A95 (Unity) ScriptingInvocation::Invoke<void> 0x00007FF9082F6853 (Unity) Scripting::UnityEditor::EditorAssembliesProxy::ProcessInitializeOnLoadAttributes 0x00007FF90817E1BB (Unity) MonoManager::SetupLoadedEditorAssemblies 0x00007FF90817562B (Unity) MonoManager::FinalizeReload 0x00007FF909680B35 (Unity) ScriptingInitializer::FinalizeReload 0x00007FF9096D01CF (Unity) AssetImportWorkerClient::ReloadScriptingDomain 0x00007FF9096AA6D1 (Unity) <lambda_f41ef9291781889a21d74f77afcdbe24>::operator() 0x00007FF9097901AF (Unity) asio::detail::completion_handler<core::mutable_function<void __cdecl(void)>,asio::io_context::basic_executor_type<std::allocator<void>,0> >::do_complete 0x00007FF90977D8B1 (Unity) asio::detail::win_iocp_io_context::do_one 0x00007FF90977EBF4 (Unity) asio::detail::win_iocp_io_context::run 0x00007FF90978E7EC (Unity) IOService::Run 0x00007FF9096D4478 (Unity) RunAssetImportWorkerClientV2 0x00007FF9096D453B (Unity) RunAssetImporterV2 0x00007FF908F005EB (Unity) Application::InitializeProject 0x00007FF9094E5F83 (Unity) UnityMain 0x00007FF737FF2F2A (Unity) __scrt_common_main_seh 0x00007FF9D5E3E8D7 (KERNEL32) BaseThreadInitThunk 0x00007FF9D6C3C34C (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
{quote}
Comments (2)
-
Vitaly_Unity
Sep 02, 2025 13:01
Hi @Whatever560
Yes, it should be fixed in 6000.1.16f1 -
Whatever560
Aug 29, 2025 10:11
Hi Does this mean it should be already fixed in 6000.1.16f1 ?
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
After investigation it was determined that this crash has already been tracked and fixed under a separate bug.
Duplicate of another internal issue: UUM-110692: [INSTABILITY]: RoslynAnalyzersShouldNotReferenceNetStandard2_1
Fixed in:
2022.3.66f1;
6000.0.56f1;
6000.1.16f1;
6000.2.1f1;
6000.3.0a5