Search Unity

Access Violation Error on Startup

Discussion in 'Editor & General Support' started by jepdraper, Apr 23, 2020.

  1. jepdraper

    jepdraper

    Joined:
    Jun 2, 2013
    Posts:
    8
    Hey, so I've been working on a game in Unity, and this issue kept popping up, but I could never really find a fix for what's been happening.

    The opening of the crash report looks like this:

    Unity Editor by Unity Technologies [version: Unity 2019.2.0f1_20c1667945cf]

    Unity.exe caused an Access Violation (0xc0000005)
    in module Unity.exe at 0033:53576040.

    Error occurred at 2020-04-23_231340.
    C:\Program Files\Unity\Hub\Editor\2019.2.0f1\Editor\Unity.exe, run by Joel.

    72% physical memory in use.
    16257 MB physical memory [4537 MB free].
    1635 MB process peak paging file [1370 MB used].
    745 MB process peak working set [570 MB used].
    System Commit Total/Limit/Peak: 17472MB/30593MB/21500MB
    System Physical Total/Available: 16257MB/4537MB
    System Process Count: 311
    System Thread Count: 4171
    System Handle Count: 150117
    Disk space data for 'C:\Users\Joel\AppData\Local\Temp\Unity\Editor\Crashes\Crash_2020-04-23_221336037\': 12173492224 bytes free of 236323860480 total.

    Read from location 00000000000002C0 caused an access violation.

    Context:
    RDI: 0x000000b7976ef2c0 RSI: 0x0000000000000000 RAX: 0x000000b7976eef01
    RBX: 0x0000000000000000 RCX: 0x0000000000000000 RDX: 0x000000b7976ef228
    RIP: 0x00007ff753576040 RBP: 0x000000b7976ef2f9 SegCs: 0x000000b700000033
    EFlags: 0x0000000000010246 RSP: 0x000000b7976ef1c8 SegSs: 0x000000b70000002b
    R8: 0x0000000000000010 R9: 0x0000029757682ef0 R10: 0x00007ff755fe6eb0
    R11: 0x000000b7976ef1c0 R12: 0x000002975a322258 R13: 0x0000000000000001
    R14: 0x000002975b00b120 R15: 0x000000b7976ef480


    I've looked through the crash report and the only things that seem off is


    Call Stack for Thread 33308:
    0x00007FFFE0E3C144 (ntdll) NtWaitForSingleObject
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFFDCE682ED)
    0x00007FFFDCE682ED (MSWSOCK) (function-name not available)
    0x00007FFFDCE6F07A (MSWSOCK) Tcpip4_WSHGetWildcardSockaddr
    0x00007FFFE0171F7C (WS2_32) select
    0x00007FFF522596C0 (mono-2.0-bdwgc) mono_poll
    0x00007FFF5231C0D5 (mono-2.0-bdwgc) mono_threads_set_shutting_down
    0x00007FFF5231CB67 (mono-2.0-bdwgc) mono_threads_set_shutting_down
    0x00007FFF523157D8 (mono-2.0-bdwgc) mono_threads_set_shutting_down
    0x00007FFF52315566 (mono-2.0-bdwgc) mono_threads_set_shutting_down
    0x00007FFFDF0F7BD4 (KERNEL32) BaseThreadInitThunk
    0x00007FFFE0E0CED1 (ntdll) RtlUserThreadStart


    There's several sections in it where it's called, all trying to access the same invalid memory address.

    Any advice would be appreciated, as I really have no clue what's causing it, but it's been quite frequent and now I can't load up this one particular project in Unity.

    Other projects load fine.
     
  2. ihatemonodlll

    ihatemonodlll

    Joined:
    Sep 11, 2020
    Posts:
    1
    I have the same problem but I'm not a developer I've been playing unity games for more than a year but now I have been having this problem for 2 months still not a solution that works instead of unity.exe I get kernelbase.dll or mono.dll I have an issue with my .net framework which is still bothering me with some programs I tried googling for answers but the answers I found didn't work I tried discord which unfortunately no one responded if you have found a solution for this please tell me