Add body, face, or eye tracking from the Movement SDK.
Update from an older Movement SDK version.
Prerequisites
Complete the Hello World project setup, which shares requirements with the
Movement SDK.
In addition to these requirements, your headset device must be running Horizon OS v60.0 or later.
Movement SDK setup
Follow these steps to install and configure Movement SDK:
Step 1: Install the Movement SDK
Use one of the following options to install the Movement SDK in your Unity project.
Option A. Import the package from GitHub
In the Unity Editor, select Window > Package Management > Package Manager.
Select In Project in the dialog, then click + (plus icon) to add a package.
Select Install package from git URL…
Enter https://github.com/oculus-samples/Unity-Movement.git in the URL field and click Install.
Alternatively, if you want to use a specific version of the package, append # and the version number to the URL.
For example, use https://github.com/oculus-samples/Unity-Movement.git#v83.0.0 for the v83 version of the package.
Ensure Meta XR Movement SDK displays under Packages - Meta Platforms, Inc. in the Package Manager.
Option B. Download the package and install it from your disk
Download and unzip a package release from the Assets section of the Unity Movement releases GitHub repository.
In the Unity Editor, select Window > Package Manager.
Select In Project in the dialog. Then, click + (plus icon) to add a package.
Select Install package from disk…
Locate and select the package.json file from the unzipped package.
Ensure that Meta XR Movement SDK is listed under Packages - Meta Platforms, Inc..
Step 2: Import the Movement SDK samples
From the Package Manager, select the Meta XR Movement SDK package and select the Samples tab.
Click Import next to each of the types of samples you need. These are saved in the
Assets/Samples/Meta XR Movement SDK/<version> directory of your Unity project.
Step 3: Configure Meta XR Camera settings
In the Unity Editor, under Hierarchy, select and open the OVRCameraRig within the Inspector.
Set up the OVRCameraRig
If your project lacks an OVRCameraRig, make sure to complete the
Hello World project setup steps.
In Inspector, under Quest Features > General, set the types of tracking support your
project needs to Supported or Required:
Body Tracking Support
Face Tracking Support
Eye Tracking Support
Set Hand Tracking Support to Controllers and Hands.
In Inspector, under Permission Requests On Startup, toggle on the Movement features your project requires.
The Record Audio for audio based Face Tracking permission is necessary for the Audio to Expressions (A2E) feature.
Step 4: Fix any issues diagnosed by the Project Setup Tool
From the Meta toolbar menu, select Tools > Project Setup Tool.
Select the standalone tab, which resembles a computer display.
Select Apply All if there are any issues. Select the Meta tab and select Apply All.
After installing the new version of Movement SDK, follow these sections to upgrade your project.
Upgrade a character retargeter or animation rigging retargeting component
If your project contains a character retargeter, added by one of the following methods, upgrade to the latest version:
1) Selecting Movement XR Movement SDK > Body Tracking > Add Character Retargeter
2) Adding an animation rigging retargeting component from v74 or earlier using Movement XR Movement SDK > Body Tracking > Animation Rigging Retargeting (full body) (constraints) or similar
Follow these steps to upgrade to the latest version:
Select the character in the Hierarchy and locate the Character Retargeter building block within the Inspector.
Click the button that updates the components and scripts to the latest version. This action automatically cleans up
old scripts and components and applies the latest ones.
If this method fails, perform the following steps:
Remove all movement-specific retargeting scripts from your character.
Remove all animation rigging constraints under the Rig component of your character.