Google VR SDK for Unity

Build virtual reality applications for Android and iOS using Unity and the Google VR SDK.

Unity's native integration with Google VR makes it easy to build Android applications for Daydream and Cardboard. The Google VR SDK for Unity provides additional features like spatialized audio, Daydream controller support, utilities and samples.

Using the native integration requires Unity 5.6 or later.

Features

Unity's native support for Google VR makes it easy to:

  • Begin a new VR Unity project from scratch
  • Adapt an existing Unity 3D application to VR
  • Make an app that can easily switch in and out of VR mode

The integration with Google VR provides:

  • User head tracking.
  • Side-by-side stereo rendering.
  • Detecting user interaction with the system (via trigger or controller).
  • Automatic stereo configuration for a specific VR viewer.
  • Distortion correction for a VR viewer's lenses.
  • An alignment marker to help center the screen under the lenses when you insert your phone into a viewer.
  • Automatic gyro drift correction.

The Google VR SDK for Unity provides the following additional features:

  • Daydream controller support.
  • Spatialized audio rendering.
  • A simple reticle prefab and associated scripts for gaze-based user interaction.
  • VR emulation in the Unity editor's play mode, using the mouse and alt/control keys to pan or tilt the camera.
  • A "Headset Demo" scene showing a simple Cardboard game, and a "Controller Demo" scene integrated with the Daydream controller.
  • A FPS display prefab showing the rendering performance of your application.

To learn more: