How to make the difference between different headsets?

Developing a VR app that aims to support the Oculus Quest and Quest 2, the Rift S, and potentially Vive and I was wondering the easiest way to detect which headset/setup was being used.

I’m not entirely sure of the process as I’ve never released anything for VR through the stores yet - but would I need separate versions of the app for each platform or would I need a code in the app to check which headset is being used and act accordingly? (swap out controller models and such).

Thanks!

Some of both. Quest and Quest2 are Android devices; that’s a totally separate build from PC VR, which covers the others you mentioned.

Within those, I think you can work out the device type via XRDevice.

1 Like

Oh okay, I’ll take a look, thanks!