Forum Discussion
phileday
10 years agoMHCP Member
Oculus SDK and SteamVR in the same project
I've been developing my app for a while using the Oculus SDK without problems and now I have the opportunity to add SteamVR support to my project but I'm finding it difficult to find any information on doing this so that I have both SDK's in the same project.
ultimately I want the program to launch the Oculus SDK if the Oculus is running but no SteamVR is running, run SteamVR if that is running and if neither are running run a standard desktop mode.
Has anyone had any experience with this or have any ideas about how to do this.
Any help would be greatful.
Phil
ultimately I want the program to launch the Oculus SDK if the Oculus is running but no SteamVR is running, run SteamVR if that is running and if neither are running run a standard desktop mode.
Has anyone had any experience with this or have any ideas about how to do this.
Any help would be greatful.
Phil
2 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffI haven't looked at the SteamVR Unity package, but you can check whether Unity is using the Rift with VRSettings.loadedDevice == VRDeviceType.Oculus. If that's true, Unity's first-party VR support is currently set to use the Rift or Gear VR. If the loadedDevice is "None" or something else, you could destroy any Oculus Utilities in your scene, such as OVRManager and enable another VR SDK.
- philedayMHCP MemberThanks
I'll have a look at that and see if I can find a decent way of doing that. If I work it out I'll post the solution I came up with. :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago