Jump to content
 
arjun

How to get input from tracker when the controllers are connected

Recommended Posts

 I got the same result for Unity 2019.1.7f1 and 2018.3.5f1.

Two controllers and one tracker input.

Even I turn off 2 controllers, I can only get 1 tracker input.

I couldn't get 2 trackers input. 

Share this post


Link to post
Share on other sites

 I am rolling back SteamVR version to double check. I will need more time to debug this part.

Share this post


Link to post
Share on other sites

I found something strange.

In SteamVR Input Debugger I was able to see the tracker input being pressed.

But, in Unity app, I couldn't see anything. At most I can see is 1 tracker input.

I just sent Steam message to see if they can help resolving this issue.

Share this post


Link to post
Share on other sites

  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

 

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

Share this post


Link to post
Share on other sites

 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.

Share this post


Link to post
Share on other sites

 Could you show me your project root directory?

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

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...