Search Unity

Bug Unity 2020.3.18 Editor crashes on entering play mode

Discussion in 'Editor & General Support' started by skinwalker, Sep 20, 2021.

  1. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    509
    Hi,

    I had this problem with the same project on unity 2019.3 lts, but since I upgraded to unity 2020.3.18 it has gotten so much worse, a crash on every 5 or 6 tries to start a play mode.

    I will post the information from Editor.log file, please if you have any suggestions I will be very thankful!

    Code (CSharp):
    1. =================================================================
    2. Got a SIGSEGV while executing native code. This usually indicates
    3. a fatal error in the mono runtime or one of the native libraries
    4. used by your application.
    5. =================================================================
    6.  
    7. Received signal SIGSEGV
    8. Stack trace:
    9. 0x00007ff99804164a (ntdll) RtlWalkFrameChain
    10. 0x00007ff9980415e2 (ntdll) RtlCaptureStackBackTrace
    11. 0x00007ff9980f8191 (ntdll) RtlpNtSetValueKey
    12. 0x00007ff9980fde51 (ntdll) RtlpNtSetValueKey
    13. 0x00007ff998015b43 (ntdll) RtlGetCurrentServiceSessionId
    14. 0x00007ff9980147b1 (ntdll) RtlFreeHeap
    15. 0x00007ff91b369c24 (mono-2.0-bdwgc) [free_base.cpp:107] _free_base
    16. 0x00007ff91b008967 (mono-2.0-bdwgc) [gptrarray.c:92] monoeg_g_ptr_array_free
    17. 0x000001e8a0deb940 (Mono JIT Code) (wrapper managed-to-native) Mono.RuntimeGPtrArrayHandle:GPtrArrayFree (Mono.RuntimeStructs/GPtrArray*)
    18. 0x000001e8a0deb883 (Mono JIT Code) Mono.RuntimeGPtrArrayHandle:DestroyAndFree (Mono.RuntimeGPtrArrayHandle&)
    19. 0x000001e8a0deb81b (Mono JIT Code) Mono.SafeGPtrArrayHandle:Dispose ()
    20. 0x000001e8a1df0273 (Mono JIT Code) System.RuntimeType:GetMethodsByName (string,System.Reflection.BindingFlags,bool,System.RuntimeType)
    21. 0x000001e761c781b3 (Mono JIT Code) [MaskableGraphic.cs:200] UnityEngine.UI.MaskableGraphic:OnValidate ()
    22. 0x000001e761c780b3 (Mono JIT Code) [Image.cs:1882] UnityEngine.UI.Image:OnValidate ()
    23. 0x000001e8a1df1130 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    24. 0x00007ff91b12e660 (mono-2.0-bdwgc) [mini-runtime.c:2816] mono_jit_runtime_invoke
    25. 0x00007ff91b0b2ae2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    26. 0x00007ff91b0bbb3f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
    27. 0x00007ff7b7b9c0e4 (Unity) scripting_method_invoke
    28. 0x00007ff7b7b94a35 (Unity) ScriptingInvocation::Invoke
    29. 0x00007ff7b7b94e5e (Unity) ScriptingInvocation::InvokeChecked
    30. 0x00007ff7b7c01ab6 (Unity) SerializableManagedRef::CallMethod
    31. 0x00007ff7b7b4241d (Unity) MonoBehaviour::CheckConsistency
    32. 0x00007ff7b7b40c13 (Unity) MonoBehaviour::AwakeAfterRestoreFromBackup
    33. 0x00007ff7b7c014dd (Unity) SerializableManagedRefsUtilities::AwakeInstancesAfterBackupRestoration
    34. 0x00007ff7b7b43a28 (Unity) MonoManager::EndReloadAssembly
    35. 0x00007ff7b7b4a771 (Unity) MonoManager::ReloadAssembly
    36. 0x00007ff7b8f37fc1 (Unity) ReloadAllUsedAssemblies
    37. 0x00007ff7b8f0703c (Unity) EditorSceneManager::RestoreSceneBackups
    38. 0x00007ff7b88983aa (Unity) PlayerLoopController::EnterPlayMode
    39. 0x00007ff7b88adb0d (Unity) PlayerLoopController::SetIsPlaying
    40. 0x00007ff7b88afa89 (Unity) Application::TickTimer
    41. 0x00007ff7b9245671 (Unity) MainMessageLoop
    42. 0x00007ff7b92496b1 (Unity) WinMain
    43. 0x00007ff7bb09bf46 (Unity) __scrt_common_main_seh
    44. 0x00007ff997367034 (KERNEL32) BaseThreadInitThunk
    45. 0x00007ff998042651 (ntdll) RtlUserThreadStart
     
    brunogattai1996 likes this.
  2. carking1996

    carking1996

    Joined:
    Jun 15, 2010
    Posts:
    2,609
    I also have this issue. I have to constantly restart the editor because of it. Happens on nearly every 2020 version I try.
     
    brunogattai1996 likes this.
  3. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    509
    I'm still getting it and have found no solutions online, when I try to report the error the crash handler... crashes, so I can't even report it properly.