Forum Discussion
Arowx
12 years agoExplorer
Rift Game to None-Rift Webplayer
Hi I was wondering if Oculus could update the Unity rift kit so that it switches to mono when we build for web-player demos?
Or they could add Rift support to the Unity Webplayer? ;) ;)
Also is there a clean way to exclude the Oculus rift dll's from a Unity build, as they seem to cause a crash when I build to webplayer?
Or they could add Rift support to the Unity Webplayer? ;) ;)
Also is there a clean way to exclude the Oculus rift dll's from a Unity build, as they seem to cause a crash when I build to webplayer?
1 Reply
Replies have been turned off for this discussion
- owenwpExpert ProtegeTheoretically nothing should crash as long as you prevent any calls to the OVR SDK from being made. Perhaps add a little code to the initialization of OVRDevice that disables it if platform == webplayer.
Alternatively, don't put the OVR player in your scene. Instead make two player prefabs, one with OVR and one without, and write a script that chooses which prefab to spawn based on the application platform.
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
- 6 months ago
- 3 years ago
- 2 years ago