This site has been permanently archived. The content on this site was last updated in 2019.
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:
Verify that you are using Unity 2017.3 or later.
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" />
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.
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.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["Enable 6DoF head tracking in Unity 2017.3 or later by selecting \"Supported\" or \"Required\" in the XR settings under Daydream."],["\"Supported\" allows your application to function in both 3DoF and 6DoF modes, while \"Required\" mandates 6DoF tracking for use."],["6DoF head tracking requires a consistent and high frame rate (targeting 75 FPS) to avoid visual artifacts and user discomfort."]]],["To enable 6DoF head tracking in Unity (2017.3+), navigate to **Player Settings \u003e Android \u003e XR Settings \u003e Virtual Reality SDKs \u003e Daydream \u003e Positional Head Tracking**. Select either \"Supported\" for 3DoF/6DoF compatibility or \"Required\" for 6DoF-only, modifying the app's manifest accordingly. Recompile the app after making changes. 6DoF is powered by WorldSense and uses a limited safety cylinder. Maintain a target frame rate of 75 FPS to avoid visual artifacts.\n"]]