Forum Discussion
federicaottonello
5 months agoHonored Guest
Custom hand model using Meta XR SDK
Hi everyone,
I'm following this official tutorial from Meta to customize the hand model in Unity using the Interaction SDK:
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.
1 Reply
Replies have been turned off for this discussion
- federicaottonelloHonored Guest
Here are the screenshots of my inspector and hierarchy:
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 10 months ago
- 7 months ago