Enables Daydream and Cardboard app development in Unity.
Copyright (c) 2016 Google Inc. All rights reserved.
For updates, known issues, and upgrade instructions, see: https://developers.google.com/vr/unity/release-notes
For first time users, see the Get Started Guides for Android Cardboard, Android Daydream, and iOS Cardboard.
Please note, we do not accept pull requests.
Unity versions 5.6 or newer are required as of v1.40 of the GVR Unity SDK. Migration steps:
- Update the GVR Unity SDK to 1.40.
- Migrate to Unity 5.6.0f3, or any newer version. The SDK will import or remove the unnecessary GVR libraries.
- Update the GVR Unity SDK to 1.70 (or latest).
As of the 1.70 release, the gvr-unity-sdk
git repo can be cloned and used directly in a Unity project.
- GoogleVRForUnity.unitypackage. Now available for download [here] (https://github.com/googlevr/gvr-unity-sdk/releases).
- Samples. Daydream Elements
- Workflow. Instant Preview
As of Unity 5.6, the generated Cocoapod can be updated to the latest GVR iOS SDK by following these steps.
- Build an XCode project from Unity.
- In a terminal, change directories into the XCode project folder.
- Run the following commands
pod deintegrate
pod cache clean --all
- Change the number in the Podfile to 1.70
- Open the project in XCode, and delete the Pods directory and Pods.xcodeproj if they exist.
- In the XCode project settings, change the deployment target to 8.0.
- Quit XCode
- In Terminal, do
pod update
- "Installing GVRSDK (1.70.0)" should appear in the console.
pod install