GetHandTrackingState doesn't work

I tried this tutorial to get the hand bone transform, I can see the hand moving while I move my hand but the transform data never valid (list position/rotation always empty). Is there any more setting for it


PS: I followed this tutorial

Hi King,

This is Mamadou, the video’s author.

The thing I can think of is if you haven’t enabled hand tracking on the device, or you’re checking for example the left handstate but you’re only testing with your right hand, or vice versa.

Please try to use both hands while testing this out and make sure your controllers are inactive.

Hope that helps.

1 Like

I can see both hand with fingers moving in vr realtime when I move hand and fingers (the controllers are on the table). I will record the video tomorrow

You can see the in the video, the hand with fingers are moving but the log always invalid

TBH cannot tell anything from the video or the portion of code BP code shown. However, I suggest two things:

Thanks, I will send you private email on detail

I did saw the new video you’ve shared and immediately realized what is wrong. To be sure I downloaded your project, but did not open it since it wants to build 10,000+ shaders. But, this confirmed it for me:

In your .uproject file you have:

		{
			"Name": "OculusXR",
			"Enabled": true,
			"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/8313d8d7e7cf4e03a33e79eb757bccba",
			"SupportedTargetPlatforms": [
				"Win64",
				"Android"
			]
		},

Which confirmed what I thought at the first glance. The culprit is Meta XR plugin. You have two ways to deal with this:

  • Disable Meta XR altogether.
  • Use the correct OpenXR backend and hand-tracking system

I have a specific video dedicated to this: https://www.youtube.com/watch?v=BWd3MwtfTJE

I will soon release a new video for packaging 5.6 projects combining everything in this video and this video together.

I could fixed it now. I really appreciate your help.
PS: I put the correct setting for someone who getting same problem

Glad the suggestion worked and you’ve figured it out.

1 Like