Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Constant crashing "Unity.exe received signal from system: 0 in module Unity.exe.."

Discussion in 'Editor & General Support' started by shekalo, Sep 30, 2021.

  1. shekalo

    shekalo

    Joined:
    Dec 21, 2017
    Posts:
    10
    Hi all. Sorry not sure if this is quite the place to post support for editor crashes? The editor constantly crashes especially moving back and forth Visual Studio Code. Pls see below the top portion of the crash log. Thanks in advance for any advice!


    Unity Editor by Unity Technologies [version: Unity 2020.3.18f1_a7d1c678663c]

    Unity.exe received signal from system: 0 in module Unity.exe at 0033:9b373f7a.

    Error occurred at 2021-09-30_151354.
    F:\Unity\Hub\Editor\2020.3.18f1\Editor\Unity.exe, run by Ola.

    56% physical memory in use.
    16245 MB physical memory [7076 MB free].
    4997 MB process peak paging file [4805 MB used].
    2240 MB process peak working set [2121 MB used].
    System Commit Total/Limit/Peak: 17362MB/21162MB/22987MB
    System Physical Total/Available: 16245MB/7076MB
    System Process Count: 254
    System Thread Count: 2915
    System Handle Count: 106009
    Disk space data for 'C:\Users\Ola\AppData\Local\Temp\Unity\Editor\Crashes\Crash_2021-09-30_051348592\': 21328998400 bytes free of 239373697024 total.

    Context:
    RDI: 0x0000009ed456cf28 RSI: 0x0000009ed456d080 RAX: 0x0000009ed456c540
    RBX: 0x0000000000000020 RCX: 0x0000009ed456c540 RDX: 0x0000000000000000
    RIP: 0x00007ff79b373f7a RBP: 0x0000009ed456c550 SegCs: 0x0000000000000033
    EFlags: 0x0000000000000202 RSP: 0x0000009ed456c450 SegSs: 0x000000000000002b
    R8: 0x00000000000004d0 R9: 0x0000000000000000 R10: 0x0000009ed456c488
    R11: 0x0000009ed456c540 R12: 0x00007ff799620000 R13: 0x0000009ed457fc30
    R14: 0x0000000000000000 R15: 0x0000009ed456d680

    Bytes at CS:EIP:
    48 8d 85 c0 04 00 00 48 8d 4d f0 ba 09 00 00 00

    Mono DLL loaded successfully at 'F:\Unity\Hub\Editor\2020.3.18f1\Editor\Data\MonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dll'.

    Stack Trace of Crashed Thread 4692:
    0x00007FF79B373F7A (Unity) winutils::CrashHandler::DefaultSignalHandler
    0x00007FF79B1A6A27 (Unity) HandleSignal
    0x00007FF79E751402 (Unity) seh_filter_exe
    0x00007FF79EB251F9 (Unity) `__scrt_common_main_seh'::`1'::filt$0
    0x00007FF79E71EFE8 (Unity) _C_specific_handler
    0x00007FFBCE6F20CF (ntdll) _chkstk
    0x00007FFBCE6A1454 (ntdll) RtlRaiseException
    0x00007FFBCE6F0BFE (ntdll) KiUserExceptionDispatcher
    0x00007FF79B1E34B8 (Unity) Scripting::GetInstanceIDFromScriptingWrapper
    0x00007FF79B2505E2 (Unity) Transfer_UnityEngineObject<StreamedBinaryWrite,0>
    0x00007FF79ACCE016 (Unity) ExecuteSerializationCommands<SafeBinaryRead>
    0x00007FF79ACD546E (Unity) TransferScriptingObject<StreamedBinaryWrite,0>
    0x00007FF79ACE6C6F (Unity) SerializableManagedRefBackupGenerator::ExtractBackupFromInstance
    0x00007FF79B1A11CE (Unity) MonoBehaviour::BackupAndDeflateManagedReferences
    0x00007FF79B2617A1 (Unity) SerializableManagedRefsUtilities::BackupAndDeflateAll
    0x00007FF79B1A15E4 (Unity) MonoManager::BeginReloadAssembly
    0x00007FF79B1AA64B (Unity) MonoManager::ReloadAssembly
    0x00007FF79C597FC1 (Unity) ReloadAllUsedAssemblies
    0x00007FF79C56703C (Unity) EditorSceneManager::RestoreSceneBackups
    0x00007FF79BEF83AA (Unity) PlayerLoopController::EnterPlayMode
    0x00007FF79BF0DB0D (Unity) PlayerLoopController::SetIsPlaying
    0x00007FF79BF10874 (Unity) Application::TickTimer
    0x00007FF79C8A5671 (Unity) MainMessageLoop
    0x00007FF79C8A96B1 (Unity) WinMain
    0x00007FF79E6FBF46 (Unity) __scrt_common_main_seh
    0x00007FFBCC427034 (KERNEL32) BaseThreadInitThunk
    0x00007FFBCE6A2651 (ntdll) RtlUserThreadStart
     
  2. shekalo

    shekalo

    Joined:
    Dec 21, 2017
    Posts:
    10
    Bump >_<
     
  3. Shii

    Shii

    Joined:
    Nov 23, 2014
    Posts:
    31
    I started getting similar crashes after importing Jobs 0.11.0-preview.6 and Collections 1.0.0-pre.5 packages to the project. Getting crashes in both 2019.4.31f1 and 2020.3.21f1.
     
    shekalo likes this.
  4. mk1987

    mk1987

    Joined:
    Mar 18, 2019
    Posts:
    53
    I've been having this for almost a year now, on pretty much all 2020.3 versions since January, infact its gone through a frenzy of it over the last hour which is why im on the forums.

    Havn't been able to trace it but sometimes i can go a day or two with nothing, then next day i load it up and constant freezing all day. Interestingly playing the game in the editor and disabling code updates during play i can have it going for hours, probably days if i wanted to, its only when the 'tick' operation occurs and its looking for something or compiling prior to launching player. Got new RAM, changed hard disk to no avail. I had submitted a bug report but to be fair its so random a issue and doesnt really say anything useful so havnt heard back.

    I have a VPN and i notice some people have had compatibility issues with that, by disabling it i thought it solved it but it was just on one of its good days, i messed around with anti virus exceptions and nothing. For me i think its a background task as once running the game is fine, its only when not in play mode updating the code it falls over and in a non repeatable way, sometimes it doesnt even need to do anything and it crashes. Seems to work better if i enter a project and leave it 20 minutes but that makes zero sense and shouldn't be taken as advise.

    It would be good if unity could release or point out a list of software or hardware compatibility issues (i have a ryzen 3700), do's and don'ts and/or anything that might cause editor crashes when its updating itself or compiling.
     
    shekalo likes this.
  5. Shii

    Shii

    Joined:
    Nov 23, 2014
    Posts:
    31
    I want to add, at least for me after deleting folders BurstCache, il2cpp_cache, Il2cppBuildCache and ScriptAssemblies from Library folder it started to crash less. Maybe just a coincidence since issue is very random.
     
    shekalo likes this.
  6. shekalo

    shekalo

    Joined:
    Dec 21, 2017
    Posts:
    10
    Hey guys so I upgraded my computer with much stronger CPU and GPU and it seems to be crashing way less
     
  7. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    505
    I have a high end PC and still experiencing these crashes on unity 2020.3.18 (and previously on 2020.1). I've used unity 5, unity 2017, 2018, 2019 but never seen those crashes before I updated to unity 2020.

    It's crashing when I press Play or when I recompile scripts. I saw that one unity developer said that they fixed one issue in unity 2020.3.26f1, which might be related to I'm upgrading and will report back after a few days.
     
  8. mk1987

    mk1987

    Joined:
    Mar 18, 2019
    Posts:
    53
    @skinwalker Just to add, i am on 2020.3.27f1 for last month or two and finally after a year or more i am no longer having crashes, hope your experiencing the same.
     
    skinwalker likes this.
  9. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    505
    After a bit more than a week of testing, yes I haven't seen a crash, I will keep testing though, because sometimes this crash doesn't appear for days / weeks and some days it goes like this (Unity 2020.3.18)

    That's the issue they fixed.