VRMADA / ultimatexr-unity

UltimateXR is a free, open source framework that facilitates the creation of VR applications.
https://www.ultimatexr.io
MIT License
473 stars 62 forks source link

Quest Controller Input does not function in Unity Editor #47

Closed ej6791 closed 11 months ago

ej6791 commented 1 year ago

I have integrated both the UltimateXR Framework and Oculus SDK via the SDK Manager within Unity (followed all documentation on UltimateXR site)

My current platform is set to Android and I can successfully build and run to the device, and can see controller input working just fine.

However, when running through editor via the Quest Link, the controller input does not seem to work. The Avatar hands do not respond and just float in space.

I don't understand why input works in just the build, but not in editor.

XianGrim commented 1 year ago

@ej6791 Try these steps in order:

  1. Open the Oculus app on your desktop and make sure your device is showing as connected
  2. Put the headset on and Navigate to Quest Link mode (the white space area)
  3. Open Unity and navigate to Project Settings > XR Plug-in Management
  4. Ensure Oculus is selected for the Plug-in Providers
  5. Under OpenXR - add the Oculus Touch Controller Profile under the Windows, Mac, and Linux section. (Unsure if this is necessary, these are just the steps that I take every time)
  6. Select the OculusXR Feature
  7. In Unity Editor, navigate to Tools > UltimateXR > SDKManager and ensure Oculus shows Available as its status (I'm assuming you've already installed the Oculus integration package from the Asset Store)
  8. Load into your scene and your avatar should be working.

Let me know if that helps!

entromp commented 1 year ago

Maybe you added Oculus support for the Android tab but not the Desktop tab? The Unity Editor runs using the Desktop tab settings: image