Unity technical documentation Version 1.0.0
Full Body Avatar
Networked full-body avatars for Unity’s VR Multiplayer template (XR Interaction Toolkit and Netcode for GameObjects). Each player picks a humanoid in front of a mirror, and everyone else in the session sees that body driven by head and hand tracking through Animation Rigging.
com.themetrics.full-body-avatar · Unity 6000.4 or newer
What it does
- Full-body IK from the headset and controllers or hand tracking: arms, spine, legs, and fingers.
- Ten ready-to-use humanoids:
Male_00throughMale_06andFemale_00throughFemale_02, plus a catalog you can extend. - A selection canvas with a live preview and a real-time mirror.
- The avatar choice is replicated over Netcode for GameObjects, including distributed-authority sessions.
- The local head is hidden in the headset (layer
InvisibleForLocalPlayer) while the mirror still shows it. - Automatic height calibration so the avatar matches the player’s eye height.
- Automatic setup on import, plus menu items to run each step again.
- On Meta Quest, the included humanoids use 1024 px ASTC 6×6 textures.
- A ready demo scene:
Demo/Scenes/FullBodyAvatarDemo. Import leaves your own scenes untouched.
The Netcode integration compiles only when the VR Multiplayer template is present (THEMETRICS_VRMP). The core package compiles in any project.
Requirements
| Unity | 6000.4 or newer. Tested on 6000.4.9f1. |
|---|---|
| Template | VR Multiplayer. |
| Packages | Netcode for GameObjects 2.x, XR Interaction Toolkit 3.x, XR Hands, Input System, and Animation Rigging 1.3. The manifest pins com.unity.netcode.gameobjects 2.11.2, com.unity.xr.interaction.toolkit 3.4.1, com.unity.xr.hands 1.7.3, com.unity.inputsystem 1.19.0, and com.unity.animation.rigging 1.3.0. |
| XRI samples | Starter Assets and Spatial Keyboard, included in the template. |
| Platforms | Meta Quest (Android) and PC VR with OpenXR. |
If Animation Rigging is missing, install it from Tools → TheMetrics → Full Body Avatar → Install Dependencies.
Tutorial: first session
-
Create the project
In Unity Hub, create a project from the VR Multiplayer template on Unity 6000.4 or newer.
-
Import the package
Import TheMetrics Full Body Avatar. On the first domain reload the package recognizes the template and prepares the network player for the avatar.
-
Open the demo
Open
Demo/Scenes/FullBodyAvatarDemo. That scene already includes the selection canvas, the mirror, and the preview. -
Pick an avatar and join the session
Press Play. On the Selecciona tu avatar canvas, move through the humanoids with Anterior and Siguiente, or use Aleatorio. Then enter with Host or Join.
-
Check the body
The avatar follows the head and hands. Inside the headset you do not see your own head; the mirror does. Another client in the same session sees the humanoid you picked.
What import sets up
On the first domain reload, if it detects the VR Multiplayer template, the package:
- Enables the
THEMETRICS_VRMPscripting define. - Creates the
InvisibleForLocalPlayerlayer. - Adds Full Body Avatar and the NGO sync to the
XRI_Network_Player_Avatarprefab. - Hides the head and hand meshes that ship with the template.
Use the avatar in your scene
Your scenes are not changed on their own. To place the canvas in the open scene, or to run a step again, use Tools → TheMetrics → Full Body Avatar → NGO:
-
Wire Full Body Avatar Onto Network Player Prefab
Wires the avatar and the NGO sync onto the template’s network player prefab again.
-
Add Avatar Selection UI To Open Scene
Places the selection canvas, the mirror, and the preview in the scene you have open.
-
Open Demo Scene
Opens
Demo/Scenes/FullBodyAvatarDemoso you can compare it with the reference scene. -
Ensure InvisibleForLocalPlayer Layer
Creates the layer if it is missing and keeps it out of the XR camera mask.
If the NGO menu is missing, the template was not detected. Run Tools → TheMetrics → Full Body Avatar → Refresh VR Multiplayer Template Detection.
Components
| Component | Role |
|---|---|
FullBodyAvatar |
Instantiates the catalog humanoid you picked and builds its IK rig. |
FullBodyAvatarIK |
Head, arm, spine, and leg IK, plus height calibration. |
FullBodyAvatarCatalog |
The list of selectable humanoids and their preview images. |
FullBodyAvatarSelectionUI |
The selection canvas. It saves the choice and publishes it on the network. |
FullBodyMirrorCamera |
A real-time mirror for the selection area. |
NgoNetworkPlayerTrackingSource |
Feeds IK from the template’s XRINetworkPlayer head and hands. |
FullBodyNgoAvatarSync |
Replicates the chosen avatar over Netcode for GameObjects. |
Add your own humanoids
-
Import the FBX
Place the model in
Assets/TheMetrics/Humanoids/<Name>/. -
Set up the rig
In the model import settings, Rig → Animation Type: Humanoid. Enable Read/Write. That is required to split the local player’s head mesh.
-
Update the catalog
Select
Content/FullBodyAvatarCatalog.asset. In the inspector, click Update Catalog and generate the previews.
Common problems
The NGO menu does not appear
The VR Multiplayer template was not detected. Run Tools → TheMetrics → Full Body Avatar → Refresh VR Multiplayer Template Detection.
I can see my own head inside the headset
Make sure the InvisibleForLocalPlayer layer exists and is excluded from the XR camera culling mask. The mirror should still render that layer.
The canvas thumbnails are empty
Select Content/FullBodyAvatarCatalog.asset and regenerate the previews.
Other players still see the template’s purple avatar
Run the first NGO menu step again: Wire Full Body Avatar Onto Network Player Prefab.