Skip to main content
New Participant
August 8, 2025

Custom hand model using Meta XR SDK

  • August 8, 2025
  • 1 reply
  • 250 views

Hi everyone,

I'm following this official tutorial from Meta to customize the hand model in Unity using the Interaction SDK:

Meta tutorial

After completing the steps and launching the scene, I get the following error:


NullReferenceException: Object reference not set to an instance of an object
Oculus.Interaction.Input.DataModifier`1[TData].UpdateData () (at ./Library/PackageCache/com.meta.xr.sdk.interaction@77.0.0/Runtime/Scripts/Input/DataModifier.cs:103)
Oculus.Interaction.Input.DataSource`1[TData].GetData () (at ./Library/PackageCache/com.meta.xr.sdk.interaction@77.0.0/Runtime/Scripts/Input/DataSource.cs:225)
Oculus.Interaction.Input.Hand.get_IsTrackedDataValid () (at ./Library/PackageCache/com.meta.xr.sdk.interaction@77.0.0/Runtime/Scripts/Input/Hands/Hand.cs:294)
Oculus.Interaction.HandVisual.UpdateVisibility () (at ./Library/PackageCache/com.meta.xr.sdk.interaction@77.0.0/Runtime/Scripts/Interaction/Visuals/HandVisual.cs:250)
Oculus.Interaction.HandVisual.Start () (at ./Library/PackageCache/com.meta.xr.sdk.interaction@77.0.0/Runtime/Scripts/Interaction/Visuals/HandVisual.cs:223)


My setup:

Unity version: 2022.3.46f1

Meta XR SDK: 77.0.0

Device: Meta Quest 3 (via Link)

I followed the guide to retarget and assign a custom mesh

The scene includes the custom hand mesh prefab and the correct shader

Our hand tracking camera rig didn’t have the HandConfidenceVisual script, so we tried to manually add it, but nothing changed

How can I make it work?
Is there a more detailed tutorial I can follow?

My goal is to use hand tracking with custom hand prefabs, but I haven’t found much documentation about it.

    This topic has been closed for replies.

    1 reply

    New Participant
    August 8, 2025

    Here are the screenshots of my inspector and hierarchy: