Search Unity

Access Violation error

Discussion in 'Editor & General Support' started by helgarddebarros, Dec 11, 2017.

  1. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    I am getting an error when I try to run my game in the editor and sometimes in the build.

    All the crash reports list this as the error:

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

    or another crash report:

    UnityPlayer.dll caused an Access Violation (0xc0000005)
    in module UnityPlayer.dll at 0033:6398ecbf.

    The number at the end matches a number later in the crash report:

    Context:
    RIP: 0x4034e11e

    and

    Context:
    RIP: 0x6398ecbf

    I have no idea what these crashes are or how to go about fixing them. Does anyone know what these codes mean?
     
  2. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    Can anyone tell me where I can learn what these codes mean?

    Context:
    RDI: 0x005facf8 RSI: 0xffffffff RAX: 0x00000217
    RBX: 0x00000000 RCX: 0x05d31618 RDX: 0x1da0fa70
    RIP: 0x4034e11e RBP: 0x05d31618 SegCs: 0x00000033
    EFlags: 0x00010246 RSP: 0x1da0fa30 SegSs: 0x0000002b
    R8: 0x00000001 R9: 0x1da0fce0 R10: 0x00000000
    R11: 0x1da0fa20 R12: 0x0000006b R13: 0x00000016
    R14: 0x05d30c10 R15: 0x05d2fb10

    I am trying to track down the error but I need to know what exactly these codes are referring to.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    0xc0000005 Access Violation errors are often caused by a hardware problem with your computer, such as a bad RAM stick. If there was something in Unity causing this, I would think more people would be reporting this issue.
     
  4. Diggidy

    Diggidy

    Joined:
    Jul 10, 2012
    Posts:
    10
    Having the same problem, I just noticed them. After playing the game for maybe 15 mins, it crashes with the same error. Console and PC. Helgard, what version unity you running?
     
  5. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    I am running Unity 2017.2.0f3 (64-bit). I sent a bug report about a week and a half ago, but haven't heard or seen anything yet.
     
  6. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
  7. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    Ok, so far so good. Downloaded the beta, installed it, and I haven't had the crash yet. Will post here if I get the crash again.
     
  8. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    Just got the crash again:

    Unity Editor [version: Unity 2017.3.0f2_d3a5469e8c44]

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

    Error occurred at 2017-12-19_131524.
    C:\Program Files\Unity\Editor\Unity.exe, run by tmp.
    45% memory in use.
    16312 MB physical memory [8936 MB free].
    18744 MB paging file [9019 MB free].
    134217728 MB user address space [134211277 MB free].
    Read from location 005fab44 caused an access violation.

    Context:
    RDI: 0x005faa78 RSI: 0xffffffff RAX: 0x000004a1
    RBX: 0x00000000 RCX: 0xb9bedf58 RDX: 0x19b0fcb0
    RIP: 0x404a7ece RBP: 0xb9bedf58 SegCs: 0x00000033
    EFlags: 0x00010246 RSP: 0x19b0fc70 SegSs: 0x0000002b
    R8: 0x00000001 R9: 0x19b0fd50 R10: 0x00000000
    R11: 0x19b0fc60 R12: 0x000000ed R13: 0x00000010
    R14: 0xb9bec920 R15: 0xb9bea010