This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates.
  • All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin. These new SDKs offer streamlined APIs, improved device compatibility, and built-in viewer profile QR code scanning.
  • The Daydream View VR headset is no longer available for purchase as of October 15, 2019. Existing apps on supported devices are unaffected for users who previously installed those applications. It is no longer possible to opt-in to Daydream distribution via Google Play.

Enabling 6DoF head tracking in Unity

Stay organized with collections Save and categorize content based on your preferences.

This feature requires Unity 2017.3 or later. To enable 6DoF head tracking in Unity:

  1. Verify that you are using Unity 2017.3 or later.

  2. Go to Player Settings > Android > XR Settings > Virtual Reality SDKs > Daydream > Positional Head Tracking and select either Supported or Required.

    • Choosing Supported means that your application will work in both 3DoF mode and 6DoF mode. Choosing this option adds the following to your manifest:

        <uses-feature
         android:name="android.hardware.vr.headtracking"
         android:version="1"
         android:required="false" />
      
    • Choosing Required means that your application cannot be used without 6DoF tracking. Choosing this option adds the following to your manifest:

      <uses-feature
       android:name="android.hardware.vr.headtracking"
       android:version="1"
       android:required="true" />
      
  3. Recompile the app.

Note that WorldSense, the technology that powers 6DoF tracking on Daydream Standalone, uses a safety cylinder which limits the user's movement to a small area.

Performance implications

6DoF head tracking is more sensitive to application frame rate than 3DoF head tracking. Application framerate inconsistency is also more noticeable to the user in 6DoF. If the frame rate is too low, the application may fail the certification process.

Performance recommendation:

  • In 6DoF apps should target 75 FPS. Drops below 60 FPS will likely cause noticeable visual artifacts and user discomfort.