Skip to main content
New Participant
December 21, 2019

Hand tracking -> no hands rendering

Hello, 
I'm trying to test the hands interactions train scene, but have no hands rendering in the scene. Same with the hand test scene. All seems to be well configured but still no hands input visible on the scene (the gesture to get the menu is working).
Anyone know what the problem could be ?

Linkos

    18 replies

    Participant
    December 22, 2019
    Hi.
    Same with me, man.
    I wanna know the reason, too.

    Have you already find any solution?
    In my project, this AndroidManifest.xml  exists in the path, /Assets/Plugins/Android/ . 

    However, hands would not render in the scene.

    Anyone know what the problem could be? (Sorry for the piggybacking.)

    --
    (Edited)
    sorry, i can't post my .xml file. it is too long. but i think it is the simplest one.
    Up and Coming
    December 22, 2019
    in the Inspector panel of OVRCameraRig, find hand tracking support, change "controller only" to "controller and hands"
    New Participant
    November 27, 2021

    That works for me. Curious this default parameter set to controller only for an app testing Hands ! They have to change it.

    New Participant
    December 22, 2019

    Hanabear said:

    in the Inspector panel of OVRCameraRig, find hand tracking support, change "controller only" to "controller and hands"


    I've allready done that with no result. All the config was ok, but with no result.
    But i've now find a solution, I upgrade my Unity version to 2019.2 (I was using the 2018.3 version previously) and it suddenly works like a charm.

    Participant
    December 22, 2019
    Thanks for comments, guys.

    I have tried other versions of Unity3D, 2018.3, 2019.2 and 2019.3.
    In my case, however, hands do not render in applications.
    All the config was ok too.. ( including hand tracking support in OVRCameraRig. :wink: )

    Anyway, i will keep to solve the problem with using Unity3D 2019.2, thx. :)
    Up and Coming
    December 23, 2019
    Are you running it with Link? 

    Currently hand tracking doesn't work with Link so you need to do "Build and Run" to test. 
    1) Plug in your headset.
    2) In the headset cancel any and all Oculus Link Requests 
    3) In Unity, click Build Settings, then add your scene, then click Build and run.
    4) In the headset make sure your on hands mode and  wait for the app to automatically launch. 
    Remember, No Oculus Link
    Inspiring
    December 23, 2019
    Do you have app IDs set for both the options in Resources > OvrAvatarSettings? OvrAvatar won't render without an ID.
    Wei Tin Yuen, VR Developer B) Toronto, Canada http://tinforge.com/
    Participant
    December 23, 2019


    Are you running it with Link? 

    Currently hand tracking doesn't work with Link so you need to do "Build and Run" to test. 
    1) Plug in your headset.
    2) In the headset cancel any and all Oculus Link Requests 
    3) In Unity, click Build Settings, then add your scene, then click Build and run.
    4) In the headset make sure your on hands mode and  wait for the app to automatically launch. 
    Remember, No Oculus Link
    Thx!

    Actually, i have experience to use Oculus Link. however, i have already uninstalled Oculus App from my laptop. so i think current state is No Oculus Link. is that right?

    Participant
    December 23, 2019
    Weitin said:
    Thx, too!
    I created new app, with Go & GearVR platform, from my dashboard and set AppID (not User ID) for /Resources/OVRAvatarSettings and /Resources/OculusPlatformSettings.
    After that, I tried same steps in the document, unity-handtracking. 
    but, no result..

    The white skin of Hands are rendered, in case CustomHands and GuardianBoundarySystem scenes.
    Does this mean that i succeeded to render OvrAvater's objects?
    Participant
    December 26, 2019
    Finally, i got succeeded. 
    After all, i can't found the critical reason.
    Solutions i have tried can be mainly divided into two parts. i think these have worked.
    - Updating UnityHub
    - Uninstalling and Installing android SDK/NDK.

    anyway, thx all.
    Participant
    January 7, 2020
    I also had the same problem. I thought my hands were not rendering correctly. Turns out they were rendering, but in the wrong place.

    My solution was to change the position and rotation values you get from the hands to local position and rotation, as my Player Rig was not on (0, 0, 0) - which the SDK kind of assumes.

    To try this, change the following scripts:

    HandSkeleton.cs
    // line 145 from: transform.position = pose.RootPose.Position.FromFlippedZVector3f();
    // to:
    transform.localPosition = pose.RootPose.Position.FromFlippedZVector3f();
    // line 146 from: transform.rotation = pose.RootPose.Orientation.FromFlippedZQuatf();
    // to:
    transform.localRotation = pose.RootPose.Orientation.FromFlippedZQuatf();
    HandMesh.cs
    // line 119 from: vertices = mesh.VertexPositions.FromFlippedZVector3f();
    // to:
    vertices = transform.InverseTransformPoint(mesh.VertexPositions.FromFlippedZVector3f());

    Also, make sure to parent the hands under the player rig as so will move with the player. Hope this helps!