Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Unity 2020.1 is crashing a lot

Discussion in 'Editor & General Support' started by CDF, Jul 30, 2020.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,324
    Not able to pinpoint why, but if I do I'll report a bug.
    Unity is crashing at least once a day since 2020.1 was released.
    Here's a stack trace from the last crash I had:

    Code (CSharp):
    1. ========== OUTPUTTING STACK TRACE ==================
    2.  
    3. 0x00007FF66333CF2D (Unity) SerializedObject::~SerializedObject
    4. 0x00007FF663BEB47B (Unity) SerializedObject_CUSTOM_Internal_Destroy
    5. 0x000002403AA2D8B7 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedObject:Internal_Destroy (intptr)
    6. 0x000002403AA2D6E3 (Mono JIT Code) UnityEditor.SerializedObject:Dispose ()
    7. 0x00000240A28F8773 (Mono JIT Code) UnityEditor.Editor:CleanupPropertyEditor ()
    8. 0x00000240A28F86EB (Mono JIT Code) UnityEditor.Editor:OnDisableINTERNAL ()
    9. 0x00000240A29C27A0 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    10. 0x00007FF9FB9BD8A0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    11. 0x00007FF9FB942912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
    12. 0x00007FF9FB94B96F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
    13. 0x00007FF66210D6A4 (Unity) scripting_method_invoke
    14. 0x00007FF6621071DB (Unity) ScriptingInvocation::Invoke
    15. 0x00007FF66210749E (Unity) ScriptingInvocation::InvokeChecked
    16. 0x00007FF662177643 (Unity) SerializableManagedRef::CallMethod
    17. 0x00007FF6620DE14D (Unity) MonoBehaviour::WillUnloadScriptableObject
    18. 0x00007FF6620D85BE (Unity) MonoManager::RemoveBehavioursFromManager
    19. 0x00007FF6620CFA27 (Unity) MonoManager::BeginReloadAssembly
    20. 0x00007FF6620D83A5 (Unity) MonoManager::ReloadAssembly
    21. 0x00007FF66326B973 (Unity) ReloadAllUsedAssemblies
    22. 0x00007FF6636327A7 (Unity) ImportAndPostprocessOutOfDateAssets
    23. 0x00007FF663639E6C (Unity) RefreshInternalV2
    24. 0x00007FF66363D82B (Unity) StopAssetImportingV2
    25. 0x00007FF66363AD34 (Unity) RefreshV2
    26. 0x00007FF6635A2884 (Unity) AssetDatabase::Refresh
    27. 0x00007FF662CED12F (Unity) Application::AutoRefresh
    28. 0x00007FF6634F9082 (Unity) ContainerWindow::ContainerWndProc
    29. 0x00007FFA79FC5C1D (USER32) CallWindowProcW
    30. 0x00007FFA79FC57EC (USER32) DispatchMessageW
    31. 0x00007FFA79FD1F83 (USER32) IsWindowVisible
    32. 0x00007FFA7A8FFDE4 (ntdll) KiUserCallbackDispatcher
    33. 0x00007FFA788610C4 (win32u) NtUserPeekMessage
    34. 0x00007FFA79FC94F2 (USER32) PeekMessageW
    35. 0x00007FFA79FC9AE9 (USER32) PeekMessageA
    36. 0x00007FF663502C84 (Unity) MainMessageLoop
    37. 0x00007FF66350C2CE (Unity) WinMain
    38. 0x00007FF66516F586 (Unity) __scrt_common_main_seh
    39. 0x00007FFA78927BD4 (KERNEL32) BaseThreadInitThunk
    40. 0x00007FFA7A8CCE51 (ntdll) RtlUserThreadStart
    41.  
    42. ========== END OF STACKTRACE ===========
    Looks like internal SerializedObject Destroy problem.
    Anything I could do to pinpoint where this is happening?
     
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,324
    More crashing in 2020.1.1f1:

    Code (CSharp):
    1. ========== OUTPUTTING STACK TRACE ==================
    2.  
    3. 0x00007FFAFF51377A (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\threads.c:4063] mono_thread_get_undeniable_exception
    4.   ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 0000026E61E5181B)
    5.   ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 0000026E61E5181B)
    6. 0x0000026E61E5181B ((<unknown>)) (function-name not available)
    7. 0x0000026F2B1C48CB (Mono JIT Code) System.Net.Sockets.Socket/<>c:<.cctor>b__310_11 (System.IOAsyncResult)
    8. 0x0000026F2B1C4741 (Mono JIT Code) System.IOSelectorJob:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
    9. 0x0000026F2BA7F8D2 (Mono JIT Code) System.Threading.ThreadPoolWorkQueue:Dispatch ()
    10. 0x0000026F2BA7EDDB (Mono JIT Code) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
    11. 0x0000026F2BA7EEED (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool (object,intptr,intptr,intptr)
    12. 0x00007FFAFF56D8A0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
    13. 0x00007FFAFF4F2912 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
    14. 0x00007FFAFF519761 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\threadpool.c:366] worker_callback
    15. 0x00007FFAFF51BDE1 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\threadpool-worker-default.c:499] worker_thread
    16. 0x00007FFAFF516398 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\threads.c:1042] start_wrapper_internal
    17. 0x00007FFAFF516126 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\threads.c:1101] start_wrapper
    18. 0x00007FFB65BE7BD4 (KERNEL32) BaseThreadInitThunk
    19. 0x00007FFB66FCCE51 (ntdll) RtlUserThreadStart
    20.  
    21. ========== END OF STACKTRACE ===========
    Code (CSharp):
    1. Reloading assemblies after forced synchronous recompile.
    2. Begin MonoManager ReloadAssembly
    3. Stacktrace:
    4.  
    5.   at <unknown> <0xffffffff>
    6.   at (wrapper managed-to-native) object.__icall_wrapper_mono_thread_get_undeniable_exception () <0x0006a>
    7.   at System.Net.Sockets.Socket/<>c.<.cctor>b__310_11 (System.IOAsyncResult) [0x00050] in <525dc68fbe6640f483d9939a51075a29>:0
    8.   at System.IOSelectorJob.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0000c] in <525dc68fbe6640f483d9939a51075a29>:0
    9.   at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00075] in <fb001e01371b4adca20013e0ac763896>:0
    10.   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
    11.   at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <fb001e01371b4adca20013e0ac763896>:0
    12.  
    13. =================================================================
    14. Got a SIGSEGV while executing native code. This usually indicates
    15. a fatal error in the mono runtime or one of the native libraries
    16. used by your application.
    17. =================================================================