November 6, 2019 update:
  • There's a new open source Cardboard SDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning. We recommend that all developers actively building for Google Cardboard migrate to the new Cardboard SDK: iOS, Android NDK, Unity XR Plugin (SDK)
October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, you can continue to use the existing Google VR SDK to update and distribute your apps to the Google Play Store, and make them available to users in the Daydream app.


Handler for subscribing XR Unity actions to GVR Actions.



Inherits from: MonoBehaviour


static string
Gets the name of the loaded GVR device.



static string loadedDeviceName

Gets the name of the loaded GVR device.

This should be used in place of XRSettings.loadedDeviceName, which allocates small amounts of memory on every call.

When using 2018.3 and above, a cached copy of XRSettings.loadedDeviceName which updates whenever the OnDeviceLoadAction event triggers.

On 2018.2 and below, a one-time snapshot of the initial XRSettings.loadedDeviceName taken when this component is instantiated. If loadedDeviceName is expected to change during runtime in 2018.2 or earlier, use the setter to assign XRSettings.loadedDeviceName when this is expected to happen.

The name of the loaded GVR device.