Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Does Daydream support hybrid VR/non-VR games?

Discussion in 'AR/VR (XR) Discussion' started by WendelinReich, Aug 3, 2016.

  1. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    228
    Hey all,

    We're building an Android game that supports both touchscreen and mobile VR modes. Ideally we'd like both modes to be enabled by the same apk. So the player can start in touchscreen-mode, decide to switch to VR, at which point s/he would be asked to put on the headset - and vice-versa.

    Sadly, this doesnt seem be possible with Gear VR at the moment. But it's possible with Cardboard and on stationary VR. Does anyone know if it will be possible under Daydream as well? It seems like such a simple thing, and it's disappointing to see that Samsung has decided to make it (currently) impossible...

    /W
     
  2. ScottF

    ScottF

    Vice President, Platforms Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    96
    Yes, Daydream will support the ability to toggle in and out of VR/Stereo mode.
     
  3. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    228
  4. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    228
    One question though @ScottF - right now, your "Virtual Reality Supported" checkbox seems to imply that the game will start in VR mode. That should be a separate button however! The first time I get to toggle VR/Stereo mode, Unity will already have displayed my game logo in either Mono or Stereo mode, so that's too late. I suggest another checkbox...
     
  5. ScottF

    ScottF

    Vice President, Platforms Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    96
    One of the possible devices to add is "None". If None appears first in the list Unity starts with VR disabled (conventional app). In this case you would need to load the daydream device through code at the appropriate time for your app.

    Side note: I think we should re-name None since there is obvious confusion about that.
     
    WendelinReich likes this.
  6. WendelinReich

    WendelinReich

    Joined:
    Dec 22, 2011
    Posts:
    228
    I see, you mean VRSettings.supportedDevices. But again, how do I set this at build time in the Android player settings?

    EDIT: ok, as of Unity 5.4 the list of supported VR devices can be edited under Player settings - problem solved.
     
    Last edited: Aug 11, 2016
  7. omriherman

    omriherman

    Joined:
    Dec 4, 2016
    Posts:
    1
    Hi @ScottF I read your suggestion to "load the daydream device through code at the appropriate time for your app" as reply to @WendelinReich Question, could you explain how? because right now I'm trying to Switch to VR/Stereo Mode in my application through code and I still didn't success.
     
  8. sisch

    sisch

    Joined:
    Sep 1, 2013
    Posts:
    2
    I am having issues with that as well. Can anyone link to a project that is actually successfully switching between VR/nonVR? Or point to a step by step manual?
     
  9. sisch

    sisch

    Joined:
    Sep 1, 2013
    Posts:
    2
  10. The_Devil

    The_Devil

    Joined:
    Jun 6, 2015
    Posts:
    36