ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

Seems that the input does not work with OpenVR XR plugin #208

Closed amidofu closed 3 years ago

amidofu commented 3 years ago

I checked OpenVR XR plugin here which you can download the unity package here, the hmd and controller tracking can work but the button input can't. Anything I missed?

chengnay commented 3 years ago

@amidofu To get input, you are required to import SteamVR Unity Plugin. Unity XR(OpenVR XR Plugin) can only use rendering.

amidofu commented 3 years ago

Is this the SteamVR plugin I should use? It makes Unity to enter an infinite importing process with this window keeps showing. I'm not sure if it is because I want to put WaveXR plugin, OpenVR XR plugin and VIU in the same project image

chengnay commented 3 years ago

@amidofu This is the one that you should import. The infinite import process is because SteamVR Plugin has its own check to install OpenVR XR plugin automatically, but there is bug that makes it fall into infinite loop, but I am not sure why. Could you close your Unity and delete the SteamVR plugin and try again? Or try removing OpenVR XR plugin?

amidofu commented 3 years ago

@chengnay OK, it seems the infinite importing process is caused by SteamVR plugin, thanks