Showing results for 
Search instead for 
Did you mean: 

Headset connected with OpenXR unity plugin

Level 2

While using the Unity OpenXR plugin 1.0.3 I've discovered that the Oculus Rift does not report itself in the initial connected devices at game startup ( in a RuntimeInitializeOnLoadMethod method ) if the headset is not mounted (on a head)

Instead, the Rift reports itself connected when the headset is mounted via the Unity.XR.InputDevices.deviceConnected  event.


This is a problem for our scenario because headset on AND off are valid situations and we need to properly toggle content for each state, especially at startup.

Is there a way to have the headset appear connected in the Unity.XR.InputDevices connected devices at initial startup ? Calling something in OculusXRPlugin.dll or OVRPlugin.dll ?

Thanks in advance for any help