Enable and Test Body Tracking Using the Meta XR Simulator
Updated: Jun 10, 2024
Learn how to enable and test body tracking in the Meta XR Simulator to simplify app development, testing, and debugging.
Note
This feature works with all engines. The documentation below will guide you through enabling and testing body tracking for Unity. After installing the package, go to Meta > Meta XR Simulator and select Activate. If it is already selected, select Deactivate and then Activate again.
In the Unity Editor, go to Window > Package Manager.
In the Package Manager window, click the + button next to Packages: In Project.
Select Add package from git URL….
Enter https://github.com/oculus-samples/Unity-Movement.git and click Add.
It may take a few minutes to install the package.
Ensure that Meta Movement is listed in Packages under Other.
Set up a scene to test body tracking
Copy the Samples folder from the \\Library\PackageCache\com.meta.movement@xxxxxx\Samples directory into your Assets folder.
Go to the Project Setup Tool via the menu in the bottom right corner of the Unity UI.
Select Fix All so that all tracking is enabled.
Go to the copied Samples folder in Assets and access the subfolder Scenes.
Open the MovementHighFidelty scene.
Press Play to see body tracking run automatically for several seconds. The avatar’s upper body should move.