How do we know what the model names are of the windows mr devices? for XRDevice.model? we have the acer headset so it says "Acer Mixed Reality" but we want to make windows MR specific changes to our code when the game is run through SteamVR with a Windows headset. Will they all have "mixed reality" in the name, or are they all different?
I am in a similar situation. How are the XRDevice.model names populated by Unity? Is there documentation available about the names used by the different WMR headsets? So far the only names I have found are from here . Or is there a better way to detect WMR headsets?
To get at something platform-specific instead of model-specific, you want XRSettings.loadedDeviceName - for Windows Mixed Reality, this will report as "WindowsMR".
But XRSettings.loadedDeviceName is the loaded SDK and not really the device name. And so, when using OpenVR, which supports Oculus, Vive, WMR headsets, we have to rely on XRDevice.model to configure the game correctly.
@unity_andrewc we also have this problem where we are using OpenVR to support WMR headsets but each headset then returns a different name with XRDevice.model. OpenVR is to broad to target. Better to break it down Oculus, Vive, WMR headsets.
This does not report WindowsMR it reports OpenVR which is too generic, how can we find out it's windowsMR vs Vive vs Oculus without relying on model name which we can't possibly predict for future headsets.