Enumerate potentinal VR headsets/devices

Does anybody know if there is a way to enumerate potentinal VR devices on a windows system with the most recent XR unity stuff?

We want to show a list in our windows VR app, where the user can click on which VR headset he want to use. The list should show only these possible VR headsets which are installed on the system, like:

  • Oculus Rift compatibe
  • WMR comptible
  • OpenVR compatible
    Or: None

We do not want to try to load all potentinal systems via XRloader.Initialize, as this would startup all programs etc. even if the user does not want to use a particular device.

We tried SubsystemManager.GetInstances<XRDisplaySubsystem> to get a list of all display sbsystems, but this gives only a list of all loaders which are added to the project.

We do not want to check the folders on the windows system for special files, like oculus or valve etc. as this would be a very hacky way of doing this, but at the moment this seems to be the only solution?!

Do you have any idea?

Just in case that someone is interest in this: we are using different XRManagerSettings (each with one loader in it) for all the different devices now, that way the user can easily pick a device they want, instead of checking for installed drivers.