Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Null Reference Exception

Discussion in '5.4 Beta' started by gabosgab, Jul 14, 2016.

  1. gabosgab

    gabosgab

    Joined:
    Oct 30, 2014
    Posts:
    5
    Getting a crash 100% of the time running a VR game using some light physics on projectiles. Not sure what's causing it, but PhysX calls are almost always in there. Anyone repro'ing this?

    Unity Editor [version: Unity 5.4.0f1_c6df7519ab13]

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

    Error occurred at 2016-07-14_131938.
    C:\Program Files\Unity\Editor\Unity.exe, run by
    29% memory in use.
    16324 MB physical memory [11467 MB free].
    18756 MB paging file [11459 MB free].
    134217728 MB user address space [134214630 MB free].
    Read from location 00000000 caused an access violation.

    Context:
    RDI: 0x2815e080 RSI: 0x0002ebae RAX: 0x03dd66c0
    RBX: 0x00000000 RCX: 0x00000000 RDX: 0x2815e298
    RIP: 0x40378a4b RBP: 0x00000000 SegCs: 0x00000033
    EFlags: 0x00010202 RSP: 0x1902fcf0 SegSs: 0x0000002b
    R8: 0x0000001a R9: 0x2815e298 R10: 0x00000019
    R11: 0x0000001a R12: 0x80000001 R13: 0x00000000
    R14: 0x08920960 R15: 0x089a4df0

    Bytes at CS:EIP:
    8b 04 19 89 02 8b 44 19 04 89 42 04 8b 44 19 08

    Stack:
    0x1902fcf0: 00000000 00000000 00000000 00000000 ................
    0x1902fd00: 00001f80 00000000 00000000 00000000 ................
    0x1902fd10: fffffffe ffffffff 25c73fa8 00000000 .........?.%....
    0x1902fd20: 73796850 78502e58 6c6f5373 53726576 PhysX.PxsSolverS
    0x1902fd30: 74726174 6b736154 00000000 00000000 tartTask........
    0x1902fd40: 9b8eeb46 00003a17 00000000 00000000 F....:..........
    0x1902fd50: 00000000 00000000 40195839 00000001 ........9X.@....
    0x1902fd60: 00000000 00000000 00000000 00000000 ................
    0x1902fd70: 00000000 00000000 eef7ab99 00007fff ................
    0x1902fd80: 00000000 00000000 00000001 00000000 ................
    0x1902fd90: 00000000 00000000 00000f24 00000000 ........$.......
    0x1902fda0: 08920960 00000000 0021ec7d 00000000 `.......}.!.....
    0x1902fdb0: 00000048 00000000 00000000 00000000 H...............
    0x1902fdc0: 00000000 00000000 00000000 00000000 ................
    0x1902fdd0: 076c4410 00000000 089a4df0 00000000 .Dl......M......
    0x1902fde0: 00000001 00000000 089a4df0 00000000 .........M......
    0x1902fdf0: 08920960 00000000 40194504 00000001 `........E.@....
    0x1902fe00: 076c4410 00000000 089a4df0 00000000 .Dl......M......
    0x1902fe10: 076c4640 00000000 40027f9b 00000001 @FL........@....
    0x1902fe20: 076c4458 00000000 00000000 00000000 XDl.............
    0x1902fe30: 00000001 00000000 4059e210 00000001 ..........Y@....
    0x1902fe40: 00000000 00000000 00000000 00000000 ................
    0x1902fe50: 00000000 00000000 089b1290 00000000 ................
    0x1902fe60: 076c4410 00000000 40194867 00000001 .Dl.....gH.@....
    0x1902fe70: 00000000 00000000 08920960 00000000 ........`.......
    0x1902fe80: ffffffff ffffffff 0002ebac 00000000 ................
    0x1902fe90: 80000001 00007fff 42205c01 00000001 .........\ B....
    0x1902fea0: 00000000 00000000 ffffffff 00000000 ................
    0x1902feb0: ffffffff 00000000 40195c21 00000001 ........!\.@....
    0x1902fec0: 0002ebac 00000000 076c4410 00000000 .........Dl.....
    0x1902fed0: 076c4640 00000000 00000000 00000000 @FL.............
    0x1902fee0: 00000000 00000000 00000000 00000000 ................
    0x1902fef0: 076c4410 00000000 40195cdb 00000001 .Dl......\.@....
    0x1902ff00: 076c4640 00000000 076c4780 00000000 @FL......Gl.....
    0x1902ff10: 00001701 00000000 18625770 00000000 ........pWb.....
    0x1902ff20: 076c4780 00000000 4059e5a8 00000001 .Gl.......Y@....
    0x1902ff30: 4059e570 00000001 4059e570 00000001 p.Y@....p.Y@....
    0x1902ff40: 076c4780 00000000 00000000 00000000 .Gl.............
    0x1902ff50: 076c4780 00000000 f2538102 00007fff .Gl.......S.....
    0x1902ff60: 4059e570 00000001 00000000 00000000 p.Y@............
    0x1902ff70: 00000000 00000000 00000000 00000000 ................
    0x1902ff80: 4059e570 00000001 f289c5b4 00007fff p.Y@............
    0x1902ff90: f25380e0 00007fff 00000000 00000000 ..S.............
    0x1902ffa0: 00000000 00000000 00000000 00000000 ................
    0x1902ffb0: 00000000 00000000 ef027c70 00007fff ........p|......
    0x1902ffc0: 1902ee40 00000000 1902ee40 00000000 @.......@.......
    0x1902ffd0: 00000000 00000000 00000000 00000000 ................
    0x1902ffe0: 00000000 00000000 00000000 00000000 ................
    0x1902fff0: 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\MSVCR100.dll
    Image Base: 0x50da0000 Image Size: 0x000d2000
    File Size: 829264 File Time: 2011-07-11_101440
    Version:
    Company: Microsoft Corporation
    Product: Microsoft® Visual Studio® 2010
    FileDesc: Microsoft® C Runtime Library
    FileVer: 10.0.40219.332
    ProdVer: 10.0.40219.332

    Module 3
    C:\Windows\SYSTEM32\MSVCP100.dll
    Image Base: 0x50e80000 Image Size: 0x00098000
    File Size: 608080 File Time: 2011-07-11_101440
    Version:
    Company: Microsoft Corporation
    Product: Microsoft® Visual Studio® 2010
    FileDesc: Microsoft® C Runtime Library
    FileVer: 10.0.40219.332
    ProdVer: 10.0.40219.332

    Module 4
    C:\Program Files\Bonjour\mdnsNSP.dll
    Image Base: 0x50f20000 Image Size: 0x00026000
    File Size: 132968 File Time: 2011-08-30_230532
    Version:
    Company: Apple Inc.
    Product: Bonjour
    FileDesc: Bonjour Namespace Provider
    FileVer: 3.0.0.10
    ProdVer: 3.0.0.10


    == [end of error.log] ==