Search Unity

UNITY_HAS_GOOGLEVR

Discussion in 'AR/VR (XR) Discussion' started by alimoeeny, Sep 22, 2016.

  1. alimoeeny

    alimoeeny

    Joined:
    Feb 27, 2016
    Posts:
    9
    The new release of GVR (1.0.0), has `#elif UNITY_HAS_GOOGLEVR` all over the place,
    but it is not defined anywhere in their code base or in unity, or am I missing something? Does anyone knows what this is about?
    Does it mean native daydream support is coming to unity? will it work on iOS?
     
  2. NickAtUnity

    NickAtUnity

    Unity Technologies

    Joined:
    Sep 13, 2016
    Posts:
    84
    I don't actually know the meaning of that particular define, but it was announced today that Unity has native support (in technical preview form) for Cardboard and Daydream: https://blogs.unity3d.com/2016/09/22/daydream-technical-preview-available-now/

    And as noted in the post, iOS support for Cardboard is coming later:

     
    Last edited: Sep 22, 2016
  3. Selzier

    Selzier

    Joined:
    Sep 23, 2014
    Posts:
    652
    It's defined in Unity 5.4.1f1-GVR7 technical preview and means that you're using a version with native Google VR support. It will be in any Unity version going forward which has native GoogleVR support.
    https://github.com/googlevr/gvr-unity-sdk/issues/323