Keeping Oculus Home from launching on SteamVR/OpenVR

The only way I’ve found to keep a game running on OpenVR/SteamVR from causing Oculus Home to also launch (and cause problems) is by removing the entire Oculus folder from Assets. How are others here handling building for both OpenVR and Oculus in a way that only SteamVR runs when launched on Steam?

If you have an Oculus VR headset and run the game in OpenVR mode, both Oculus software and SteamVR must run, can’t avoid that.

Hmmm… I guess what I failed to mention is that it does this even when using a non-Oculus HMD, such as Vive. Removing the entire Oculus folder allows you to play using a Vive without it launching Oculus Home. But otherwise, Oculus Home will needlessly launch even though there isn’t an Oculus-based HMD connected.

Try changing the order in Player Settings so that OpenVR is first and see if that helps.

See more here: Unity - Manual: VR development in Unity especially the “Built applications: Choosing startup device” section and “-vrmode” argument.

I’ve removed Oculus entirely from the API list and it still happens. I’m also deleting the Oculus DLLs from the Plugins folder after build. As I said, I’ve tried everything but the only thing that works is removing the Oculus plugin source folder as well as the Oculus desktop package (via package manager) from the project prior to build, but that then causes Oculus headsets not to work on a Steam VR build.