Search Unity

Question Oculus Quest 2 + Oculus integration getting started tutorial: CRASH null pointer dereference

Discussion in 'VR' started by bukeikhan-omarali, Feb 22, 2021.

  1. bukeikhan-omarali

    bukeikhan-omarali

    Joined:
    Apr 24, 2020
    Posts:
    1
    Hi, all

    I am going through the oculus developer's getting started. The build (empty scene with OVRCamerarig) finishes successfully with a few warnings about depreciated methods and unused variables. But when I try to open it on the Oculus Quest 2 it instantly crashes with null pointer dereference. I believe it tracks back to this bit:
    (std::_Function_handler<void (), void std::call_once<Singleton<OculusSystem>::Get()::'lambda'()>(std::eek:nce_flag&, Singleton<OculusSystem>::Get()::'lambda'()&&)::'lambda'()>::_M_invoke(std::_Any_data const&)+10)
    I am running the 2020.1.17 that I have installed clean just to work on this headset, with newest Oculus Integration package v25 and updated OVR utilities to 1.4.2. I have seen that there is a known issue with arm7, so I have tried with arm64 but ran into a same problem.