Skip to content

Daydream device Porting Guide

ChengNan Yang edited this page May 17, 2019 · 3 revisions

Development Environment Setup

  1. Unity 2017.4 with Android Support
    • Note: GoogleVR SDK recommends Unity 2017.4 or newer
  2. Android SDK (version 3859397)
    • sdkmanager --sdk_root=<android_sdk_home> --package_file=<pkg_file>
  3. Java JDK (jdk1.8.0_171)
    • Note: Java JDK 10 is not compatible

Steps to build APK

  1. Download and import Vive Input Utility(GitHub, Asset Store).

    portingguide_01

  2. Download and import GoogleVR SDK Unity plugin

    • Go to Assets > Import Package > Custom Package… and select GoogleVRForUnity_*.unitypackage
  3. Go to Edit > Preferences… > VIU Settings, click Switch Platform button of Daydream

    portingguide_03

  4. Add ViveCameraRig and VivePointers prefabs to your scene, refer to Example 0.Tutorial

    portingguide_09


Troubleshooting

  1. Unity Editor did not install Android Support

    portingguide_05

    portingguide_06

  2. Setup External Tools in Unity Preferences

    portingguide_07