Skip to main content
Up and Coming
March 3, 2014

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?
    This topic has been closed for replies.

    1 reply

    Up and Coming
    March 3, 2014
    Theoretically 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.