Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question OVRManager.display returning null

Discussion in 'VR' started by LeviathanLevi, Mar 8, 2023.

  1. LeviathanLevi

    LeviathanLevi

    Joined:
    Mar 29, 2022
    Posts:
    4
    Problem: I'm trying to set my Quest 2 headset to 120hz, Calling OVRManager.display returns null

    Details:

    I imported the Oculus Integration Plugin then wrote the below code, but when I build and deploy to the headset I get a null reference exception because OVRManager.display returns nulls

    upload_2023-3-8_14-7-56.png

    Additional Info:

    Unity 2021.3.12f1, building for the Quest 2, I have Quest support disabled.
    Oculus XR Plugin V3.0.2
    XR Plugin Management V4.2.1
    Oculus Integration V49.0
    BNG VR Interaction Framework 1.82
    upload_2023-3-8_14-13-45.png
     

    Attached Files: