ViveSoftware / ViveInputUtility-Unity

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

Controller doesn't work on Oculus Quest #198

Closed tenebris93 closed 2 years ago

tenebris93 commented 3 years ago

Description

The controller works in the tutorial scene on Vive Focus Plus but not on the Oculus Quest.

Build Environment

I created a fresh test project using VIU (v1.12.0.0) in Unity (v2019.4.11 LTS). The only packages added were the XR packages for WaveVR (v1.0.1) and Oculus (v1.4.3). The only settings tweaked were the recommended project settings provided by VIU for each headset. During testing, I was only using the right controller. The left controller had its battery removed.

Notes

Not sure if there is anything else I'm supposed to do to get VIU to work on Oculus. Afterward, I tried to add Oculus's Integration plugin from the asset store to the project. Thinking it might be a prerequisite to get it to work, but instead, it would cause Unity to crash to desktop. Not exactly sure why it was doing that.

chengnay commented 3 years ago

@tenebris93 I cannot reproduce the issue.

image

You mentioned controller is not working, which sample scene did you try?

Oculus Integration plugin is not required for Oculus device unless you would like to use Oculus's controller model instead of VIU's default model (white). I am not sure why your Unity will crash after importing Oculus Integration plugin. If your issue still persists, please provide sample project for further investigation, thanks!

tenebris93 commented 3 years ago

The scene I was having issues with was the Tutorial sample scene.

Seeing I wasn't able to figure out what was causing the issue. I have started using the camera rigs that the WaveXR SDK and Oculus provide. I just enable whichever one I need when I'm building for that sdk.

Edit: I just created another project and this time it was working. Not exactly sure why it's not working in my original project I was working on.