I'm in the process of adding Rift S controller UI to our game to bring it inline with the quest version but i am struggling to differentiate in code between the Rift and the Rift S.
I'm running the latest Oculus Utilities but when I check the device model its listed as an Oculus CV1
Hi there ! Any update on this ? I'm actually looking for a way to differentiate a Rift S from a Rift, but using the native unity support (Without OVRPlugin). I do think this thread could help me though, as OVRPlugin seems to use the same naming as the one in XRDevice.model.
And as of today, 2019-06-24, the latest Oculus package available in the Unity Package Manager is 1.36... so I'm afraid we're waiting on Unity here for Unity Native.
The Rift S has a refresh rate of 80, and the CV1 has a refresh rate of 90.
Unity logs 79.999 in the console, however, you can simply check if the model contains Oculus Rift CV1 and if the refresh rate from the device itself is less than or equal to 80. It's a hack but it's a way for now 🙂
Works for people using Unity Standalone VR as well 😄