Jump to content

Shr

Verified Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Shr

  1. Hello,

    I am new to unity and vive pro. I am trying to implement ray casting using the hand tracking sdk. I have already followed the steps mentioned in the documentation and verified that camera is working on SteamVR. However, my hands are not detected. The robot hands in the sample scene are static. They do not move according to my real hand.

    I also tried to follow the steps as described in the VIVE hand traking SDK webinar - 

    - I have added gesture provider script to main camera

    - I have added left hand and right hand models; added hand display switch (script) and Hand state checker (script) to the models.

    Yet my hands are not detected.

    I get the below error

    NullReferenceException: Object reference not set to an instance of an object
    ViveHandTracking.ViveHandTrackingEngine.UpdateResult () (at Assets/ViveHandTracking/Scripts/Engine/ViveHandTrackingEngine.cs:107)
    ViveHandTracking.GestureProvider.Update () (at Assets/ViveHandTracking/Scripts/GestureProvider.cs:157)
     

    I am using unity version - 2019.4.28f1

    hand tracking sdk version - 0.9.4

    Am I missing out on something? Kindly help me resolve the issue.

  2. On 9/16/2019 at 8:58 PM, zzy said:

    Hi @runout

    Since you have no experience to either Unity or Unreal, I would suggest to start with Unity, with is easier to learn. Please follow the steps below (on Windows with Vive Pro plugged):

    1. Install Unity. You can install Unity Hub first, which is a Unity management tool, which can help you install Unity. You can follow the instructions in Unity Official Manual.
      1. When selecting Unity version to install, please scroll down and select the 2017.4.x (LTS) versions.
      2. When selecting modules, you can deselect all to reduce download size.
    2. Create a new Unity Project in Unity Hub. You can choose the 3D template.
    3. Follow the SDK document about SteamVR camera setup.
    4. In the created Unity Project, import Vive Hand Tracking SDK. Open menu Assets - Import Package - Custom Package ..., select Vive Hand Tracking Unity.unitypackage file.
    5. Modify project settings to support Vive Pro.
      1. Open menu Edit - Project Settings - Player, the player setting is shown in the Inspector window.
      2. Scroll down to XR Settings tab at the bottom, check Virtual Reality Supported, and make sure Virtual Reality SDKs contains only OpenVR. You can use the +/- button to add/remove other entries.
    6. Open our sample scene and run inside Unity Editor.
      1. In the project tab, open Assets/ViveHandTracking/Sample/Sample.unity scene.
      2. Press the play button on the toolbar at the top to run the scene.
      3. You can refer to Unity manual about Project Window, Open Scenes (at the bottom of the page), Toolbar & Play button.

    Please let me know if you have any problems following these steps.

    Hello,

    I am new to unity and vive pro. I am trying to implement ray casting using the hand tracking sdk. I have already followed the above mentioned steps and verified that camera is working on SteamVR. However, my hands are not detected. The robot hands in the sample scene are static. They do not move according to my real hand.

    I also tried to follow the steps as described in the VIVE hand traking SDK webinar - 

     

    - I have added gesture provider script to main camera

    - I have added left hand and right hand models; added hand display switch (script) and Hand state checker (script) to the models.

    Yet my hands are not detected.

    I get the below error

    NullReferenceException: Object reference not set to an instance of an object
    ViveHandTracking.ViveHandTrackingEngine.UpdateResult () (at Assets/ViveHandTracking/Scripts/Engine/ViveHandTrackingEngine.cs:107)
    ViveHandTracking.GestureProvider.Update () (at Assets/ViveHandTracking/Scripts/GestureProvider.cs:157)
     

    I am using unity version - 2019.4.28f1

    hand tracking sdk version - 0.9.4

    Am I missing out on something? Kindly help me resolve the issue. @zzy

     

×
×
  • Create New...