Search Unity

Unity seems to crash randomly

Discussion in 'Editor & General Support' started by Rob-Reijnen, Nov 6, 2016.

  1. Rob-Reijnen

    Rob-Reijnen

    Joined:
    Oct 14, 2013
    Posts:
    60
    Hi guys,

    My unity project seems to crash randomly, in the editor but also in iOS builds.

    I'm having a real hard time tracing this one down because it is so hard to reproduce. There seem to be no leads on the cause whatsoever.

    It only happens in this specific project, happens often in iOS but not always. It also happens sometimes on android.

    I'm really desperate.. so really all suggestions are welcome.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,917
  3. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    The editor can be quite memory-hungry. Do you have a lot of assets in your project? Might try removing those you don't need. I used to have a lot of trouble with the 32 bit editor blowing up for low-memory reasons. if you're low on RAM, might try to upgrading as well.
     
  4. Rob-Reijnen

    Rob-Reijnen

    Joined:
    Oct 14, 2013
    Posts:
    60
    Hi,

    I have the following error log.

    Unity Editor [version: Unity 5.4.1f1_649f48bbbf0f]

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

    Error occurred at 2017-01-30_144028.
    C:\Program Files (x86)\Unity\Editor\Unity.exe, run by Rob.
    63% memory in use.
    8078 MB physical memory [2910 MB free].
    11406 MB paging file [5058 MB free].
    134217728 MB user address space [134215540 MB free].
    Read from location 000003c0 caused an access violation.

    Context:
    RDI: 0x005fc100 RSI: 0x00004eba RAX: 0x00000000
    RBX: 0x00000000 RCX: 0x0000003b RDX: 0x00000000
    RIP: 0x400f0ab4 RBP: 0x00000000 SegCs: 0x00000033
    EFlags: 0x00010202 RSP: 0x15a1fd70 SegSs: 0x0000002b
    R8: 0x00004eba R9: 0x00000001 R10: 0x0000031a
    R11: 0x15a1fdc0 R12: 0x00000001 R13: 0x00000000
    R14: 0x36465b60 R15: 0x0882d570

    Bytes at CS:EIP:
    48 8b 88 c0 03 00 00 4c 8d 8f 78 07 00 00 4c 8d

    Stack:
    0x15a1fd70: 00000000 00000000 00000000 00000000 ................
    0x15a1fd80: 00000000 00000000 400e8813 00000001 ...........@....
    0x15a1fd90: fffffffe ffffffff 405a2834 00000001 ........4(Z@....
    0x15a1fda0: 260e6760 00000000 0038bb5d 00000000 `g.&....].8.....
    0x15a1fdb0: fffffffe ffffffff 0000031c 00000000 ................
    0x15a1fdc0: 00000000 00000000 4019a009 00000001 ...........@....
    0x15a1fdd0: 07844240 00000000 0000031e 00000000 @B..............
    0x15a1fde0: 0000072c 00000000 00000000 00000000 ,...............
    0x15a1fdf0: 3f0f76b9 00007ffb 40198cd4 00000001 .v.?.......@....
    0x15a1fe00: 00000000 00000000 ffffffff 00000000 ................
    0x15a1fe10: 36465b60 00000000 400282eb 00000001 `[F6.......@....
    0x15a1fe20: 07844288 00000000 00000000 00000000 .B..............
    0x15a1fe30: 00000000 00000000 00000000 00000000 ................
    0x15a1fe40: 00000000 00000000 07844240 00000000 ........@B......
    0x15a1fe50: 00004eb9 00000000 00000000 00000000 .N..............
    0x15a1fe60: 0882d570 00000000 4019a249 00000001 p.......I..@....
    0x15a1fe70: 07844240 00000000 0882d570 00000000 @B......p.......
    0x15a1fe80: 00000002 00000000 00000000 00000000 ................
    0x15a1fe90: 80000001 00007ffb 42212101 00000001 .........!!B....
    0x15a1fea0: 00000000 00000000 ffffffff 00000000 ................
    0x15a1feb0: ffffffff 00000000 4019a3e5 00000001 ...........@....
    0x15a1fec0: 07842940 00000000 07844240 00000000 @)......@B......
    0x15a1fed0: 07842940 00000000 00000000 00000000 @)..............
    0x15a1fee0: 00000000 00000000 00000000 00000000 ................
    0x15a1fef0: 07844240 00000000 4019a4ab 00000001 @B.........@....
    0x15a1ff00: 07842940 00000000 00000000 00000000 @)..............
    0x15a1ff10: 00001f01 00000000 1541e070 00000000 ........p.A.....
    0x15a1ff20: 07849638 00000000 405a2e58 00000001 8.......X.Z@....
    0x15a1ff30: 00000000 00000000 00000000 00000000 ................
    0x15a1ff40: 00000000 00000000 00000000 00000000 ................
    0x15a1ff50: 00000000 00000000 422e8364 00007ffb ........d..B....
    0x15a1ff60: 00000000 00000000 00000000 00000000 ................
    0x15a1ff70: 00000000 00000000 00000000 00000000 ................
    0x15a1ff80: 00000000 00000000 423f70d1 00007ffb .........p?B....
    0x15a1ff90: 00000000 00000000 00000000 00000000 ................
    0x15a1ffa0: 00000000 00000000 00000000 00000000 ................
    0x15a1ffb0: 00000000 00000000 3f135e50 00007ffb ........P^.?....
    0x15a1ffc0: 15a1eed0 00000000 15a1eed0 00000000 ................
    0x15a1ffd0: 00000000 00000000 00000000 00000000 ................
    0x15a1ffe0: 00000000 00000000 00000000 00000000 ................
    0x15a1fff0: 00000000 00000000 00000000 00000000 ................

    Module 1
    C:\WINDOWS\SYSTEM32\xinput1_3.dll
    Image Base: 0x00400000 Image Size: 0x0001e000
    File Size: 107368 File Time: 2007-04-04_185422
    Version:
    Company: Microsoft Corporation
    Product: Microsoft® DirectX for Windows®
    FileDesc: Microsoft Common Controller API
    FileVer: 9.18.944.0
    ProdVer: 9.18.944.0

    Module 2
    C:\WINDOWS\SYSTEM32\MSVCP100.dll
    Image Base: 0x68e90000 Image Size: 0x00098000
    File Size: 608080 File Time: 2011-06-11_011538
    Version:
    Company: Microsoft Corporation
    Product: Microsoft® Visual Studio® 2010
    FileDesc: Microsoft® C Runtime Library
    FileVer: 10.0.40219.325
    ProdVer: 10.0.40219.325

    Module 3
    C:\WINDOWS\SYSTEM32\MSVCR100.dll
    Image Base: 0x68fe0000 Image Size: 0x000d2000
    File Size: 829264 File Time: 2011-06-11_011538
    Version:
    Company: Microsoft Corporation
    Product: Microsoft® Visual Studio® 2010
    FileDesc: Microsoft® C Runtime Library
    FileVer: 10.0.40219.325
    ProdVer: 10.0.40219.325


    == [end of error.log] ==