Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:

    Wattosan likes this.
  2. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    456
    Did you get this resolved?