Search Unity

Question Determine OpenXR Runtime

Discussion in 'VR' started by Cloudwalker_, Oct 24, 2021.

  1. Cloudwalker_

    Cloudwalker_

    Joined:
    Jan 3, 2014
    Posts:
    140
    Is there a way to determine which OpenXR Runtime is currently active via some API?
     
  2. Dark-Table

    Dark-Table

    Joined:
    Nov 25, 2008
    Posts:
    315
    UnityEngine.XR.OpenXR.OpenXRRuntime.name
    returns the name of the active OpenXR runtime.

    Values I know about:
    "Oculus"
    "SteamVR/OpenXR"
    "Windows Mixed Reality Runtime"

    There may be another one for Vive's OpenXR