Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug [2019.4.4f1] [2019.4.3f1] 100% crash when exiting the editor

Discussion in 'Editor & General Support' started by MlleBun, Jul 20, 2020.

  1. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
    Hi,

    Could anyone help me understanding what files could be corrupted and fixed? I'm having a constant crash when exiting the editor, probably while saving the Player or Quality settings ? What info would you need from me to debug this? Any logs from Unity or on my disk?

    Thanks for any help
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,193
    When the crash occurs, does it pop up a dialog suggesting that you submit a bug report for the crash? If so, you should do that. Attached to the bug report will also be the crash details. You can view the editor log and see what caused the crash towards the end of the log. (Look for the term "Crash!" in the log file.)
     
  3. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
  4. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
    Hi, here is the stack trace from yesterday
    ========== OUTPUTTING STACK TRACE ==================
    0x00007FF62686D876 (Unity) profiling::ProfilerSession::BeginGameProfilingSection
    0x00007FF625939FD2 (Unity) RepaintController::RenderPlayModeViewCameras
    0x00007FF62604AFAE (Unity) EditorGUIUtility::RenderPlayModeViewCamerasInternal
    0x00007FF6269AF352 (Unity) EditorGUIUtility_CUSTOM_RenderPlayModeViewCamerasInternal_Injected
    0x000002BB87984347 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected (UnityEngine.RenderTexture,int,UnityEngine.Vector2&,bool,bool)
    0x000002BB879841D3 (Mono JIT Code) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Vector2,bool,bool)
    0x000002BB879809A3 (Mono JIT Code) UnityEditor.PlayModeView:RenderView (UnityEngine.Vector2,bool)
    0x000002BB1EDE74B3 (Mono JIT Code) UnityEditor.GameView:OnGUI ()
    0x000002BB9BA840C0 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    0x00007FFFDA5AD690 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    0x00007FFFDA532912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
    0x00007FFFDA53BB42 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:3073] mono_runtime_invoke_checked
    0x00007FFFDA53C2D9 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:5264] mono_runtime_try_invoke_array
    0x00007FFFDA53BAD6 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:5142] mono_runtime_invoke_array_checked
    0x00007FFFDA4E0384 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\icall.c:3358] ves_icall_InternalInvoke
    0x000002BB9BBFEFE6 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
    0x000002BB9BBFD92B (Mono JIT Code) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    0x000002BB9BBFD5EF (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
    0x000002BB1A798EDB (Mono JIT Code) UnityEditor.HostView:Invoke (string,object)
    0x000002BB1A798D4B (Mono JIT Code) UnityEditor.HostView:Invoke (string)
    0x000002BB1EDE046B (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
    0x000002BB1EDDF9C3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect)
    0x000002BB1EDCC5CB (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
    0x000002BB1ED880CA (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    0x000002BB1ED85D93 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    0x000002BB879524F3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
    0x000002BB8794DAB6 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,bool,single,System.Exception&)
    0x000002BB8794713B (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&)
    0x000002BB8794048B (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&)
    0x000002BB87915B2B (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render (UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags)
    0x000002BB879120DB (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain (UnityEngine.Rect,UnityEngine.Matrix4x4)
    0x000002BB8791106E (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    0x000002BB1ED4563A (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
    0x000002BB8790F6D3 (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
    0x000002BB8790ED8B (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    0x000002BB1ED44441 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    0x000002BB1ED43DFB (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
    0x000002BB1ED43663 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr)
    0x000002BB1ED438E3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
    0x00007FFFDA5AD690 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    0x00007FFFDA532912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
    0x00007FFFDA53B96F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
    0x00007FF627BDDDBE (Unity) scripting_method_invoke
    0x00007FF627BD7AFD (Unity) ScriptingInvocation::Invoke
    0x00007FF627BD1B0A (Unity) ScriptingInvocation::Invoke<bool>
    0x00007FF624F378E5 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
    0x00007FF6258915F4 (Unity) GUIView::ProcessRetainedMode
    0x00007FF62638CCD9 (Unity) GUIView::OnInputEvent
    0x00007FF6258914EC (Unity) GUIView::ProcessInputEvent
    0x00007FF62638317D (Unity) GUIView::DoPaint
    0x00007FF62638F74D (Unity) GUIView::RepaintAll
    0x00007FF6263868BD (Unity) GUIView::GUIViewWndProc
    0x00007FF83FDD5C0D (USER32) CallWindowProcW
    0x00007FF83FDD57DC (USER32) DispatchMessageW
    0x00007FF83FDE1F73 (USER32) IsWindowVisible
    0x00007FF840F5FDE4 (ntdll) KiUserCallbackDispatcher
    0x00007FF83DFD1764 (win32u) NtUserDispatchMessage
    0x00007FF83FDD56EC (USER32) DispatchMessageW
    0x00007FF62638C1DB (Unity) ModalWinMainMessageLoop
    0x00007FF62638BD82 (Unity) ContainerWindow::MakeModal
    0x00007FF6259382C3 (Unity) ContainerWindowBindings::MakeModal
    0x00007FF6269D476B (Unity) EditorWindow_CUSTOM_Internal_MakeModal
    0x000002BB9B99D92E (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorWindow:Internal_MakeModal (UnityEditor.ContainerWindow)
    0x000002BB9B99CD2B (Mono JIT Code) UnityEditor.EditorWindow:MakeModal ()
    0x000002BB9B99538B (Mono JIT Code) UnityEditor.EditorWindow:ShowModalUtility ()
    0x000002BB9B993B6B (Mono JIT Code) UnityEditor.AssetSaveDialog:ShowWindow (string[],string[]&)
    0x000002BB9B991F73 (Mono JIT Code) UnityEditor.AssetModificationProcessorInternal:OnWillSaveAssets (string[],string[]&,string[]&,bool)
    0x000002BB9B992F77 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr&_intptr&_byte (object,intptr,intptr,intptr)
    0x00007FFFDA5AD690 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    0x00007FFFDA532912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
    0x00007FFFDA53B96F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
    0x00007FF627BDDDBE (Unity) scripting_method_invoke
    0x00007FF627BD7AFD (Unity) ScriptingInvocation::Invoke
    0x00007FF626418B70 (Unity) AssetModificationCallbacks::ShouldSaveAssets
    0x00007FF626408A5E (Unity) AssetDatabase::SaveAssets
    0x00007FF626406D93 (Unity) AssetDatabase::RefreshAndSaveAssets
    0x00007FF625A0BBDC (Unity) Application::CoreShutdown
    0x00007FF625A21FA5 (Unity) Application::Terminate
    0x00007FF6263816A8 (Unity) ContainerWindow::ContainerWndProc
    0x00007FF83FDD5C0D (USER32) CallWindowProcW
    0x00007FF83FDD57DC (USER32) DispatchMessageW
    0x00007FF83FDE1F73 (USER32) IsWindowVisible
    0x00007FF840F5FDE4 (ntdll) KiUserCallbackDispatcher
    0x00007FF83DFD1184 (win32u) NtUserMessageCall
    0x00007FF83FDD436A (USER32) GetWindowTextW
    0x00007FF83FDD3AFF (USER32) MapWindowPoints
    0x00007FF83BC7984E (uxtheme) IsCompositionActive
    0x00007FF83BC925F2 (uxtheme) Ordinal96
    0x00007FF83BC7C50F (uxtheme) IsCompositionActive
    0x00007FF83BC7BFF1 (uxtheme) IsCompositionActive
    0x00007FF83FDD403F (USER32) GetWindowTextW
    0x00007FF62638204C (Unity) ContainerWindow::ContainerWndProc
    0x00007FF83FDD5C0D (USER32) CallWindowProcW
    0x00007FF83FDD57DC (USER32) DispatchMessageW
    0x00007FF83FDE1F73 (USER32) IsWindowVisible
    0x00007FF840F5FDE4 (ntdll) KiUserCallbackDispatcher
    0x00007FF83DFD1184 (win32u) NtUserMessageCall
    0x00007FF83FDD436A (USER32) GetWindowTextW
    0x00007FF83FDD3AFF (USER32) MapWindowPoints
    0x00007FF83BC7984E (uxtheme) IsCompositionActive
    0x00007FF83BC92547 (uxtheme) Ordinal96
    0x00007FF83BC7C50F (uxtheme) IsCompositionActive
    0x00007FF83BC7BFF1 (uxtheme) IsCompositionActive
    0x00007FF83FDD403F (USER32) GetWindowTextW
    0x00007FF62638204C (Unity) ContainerWindow::ContainerWndProc
    0x00007FF83FDD5C0D (USER32) CallWindowProcW
    0x00007FF83FDD5602 (USER32) DispatchMessageW
    0x00007FF62638EE6F (Unity) ProcessMessage
    0x00007FF62638B93C (Unity) MainMessageLoop
    0x00007FF626395C58 (Unity) WinMain
    0x00007FF629387792 (Unity) __scrt_common_main_seh
    0x00007FF83F8E7BD4 (KERNEL32) BaseThreadInitThunk
    0x00007FF840F2CE51 (ntdll) RtlUserThreadStart
    ========== END OF STACKTRACE ===========
     
    alexeyzakharov likes this.
  5. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,193
    You probably need to keep figuring out why you can't submit bug reports. But this log info seems odd. If you open and close Unity again, does it always have BeginGameProfilingSection at the top of the stack? Do you actually have a profiler session open, and possibly recording? Maybe try opening the profile window, and making sure it's not recording. Possibly it's stuck "on" or something? I don't know.
     
  6. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,432
  7. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
    Hi everyone, many thanks for all your help ! It seems that I have no such bug with 2020.1.0f1 :cool: That's a very good news !

    FIXED : 2020.1.0f1
     
    MartinTilo likes this.
  8. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
    EDIT : Spoke too soon. I could exit perfectly since yesterday and now I get the same crash again.. I'll try to report the bug if I can.
     
    MartinTilo likes this.
  9. MlleBun

    MlleBun

    Joined:
    Sep 19, 2017
    Posts:
    163
    From Unity : It should be fixed in 2020.2.0a16 and 2020.1.0b17.
     
    MartinTilo likes this.