How to get input from tracker when the controllers are connected

Vive Staff

Re: How to get input from tracker when the controllers are connected

@arjun @mgyeung I found the root cause for not getting tracker input.

Could you follow below steps to fix the issue?

 

1. Replace all files in zip file(PartialInputBindings.zip) attached to the Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\Misc\SteamVRExtension\PartialInputBindings

2. Remove json files in your project root path

  - actions.json, bindings_*.json

3. Remove Assets\SteamVR_Input folder

4. Go to Edit>Preferences>VIU Settings, uncheck and check the VIVE option to allow "View Recommended Settings" to appear.

5. Click on View Recommended Settings and click Use recommended to Apply VIU Action Set

2019-06-25_111838.png

 

Let me know whether above steps work for you, thanks!

mgyeung
Settler

Re: How to get input from tracker when the controllers are connected

@chengnay Thank you for your help, but it still doesn't work
i am testing with 3 trackers, i can see the input debugger received all 3 inputs from trackers. But There is still only one trackers input was received in unity.
p.s. I did the test with a new project.

Vive Staff

Re: How to get input from tracker when the controllers are connected

@mgyeung Could you show me your project root directory?

Do you have these files(.json) as shown in the image?

2019-06-26_134230.png

Also, could you show me the Manage Tracker screenshot?

Are you using your own scene or any of VIU example scenes?

Could you share your project to me?

mgyeung
Settler

Re: How to get input from tracker when the controllers are connected

@chengnay i've try again and it works! 3 trackers were using and i am going to try with more. Waiting for the delivery~

Vive Staff

Re: How to get input from tracker when the controllers are connected

@mgyeung Great to hear that!

This fix will be pushed to VIU GitHub ASAP.