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

PICO Unity Integration broken #17

Closed RandomAJL closed 2 years ago

RandomAJL commented 2 years ago

The Pico SDK has worked fine for me on their v2.0.7 version, however, the controllers no longer work when using their latest v2.1.1 update. The headset itself is being tracked as normal however the controllers are not being tracked or registering button clicks.

This was tested in a new 2022.1.18f1 unity project with URP and only Ultimate XR v0.8.4 & PICO Unity Integration SDK v211 installed.

Unity Ver: 2022.1.18f1 & 2022.1.17f1 Render pipeline: URP Ultimate XR: v0.8.4 PICO Unity Integration SDK: v2.1.1

image

It is shown as not installed however this also happened in Pico SDK v2.0.7 but it was still working back then.

wozniakm93 commented 2 years ago

+1 The same from my side, however I am using different Pico version: Unity: 2021.3.4f1 PicoXR: 2.0.5 Checked on both URP and BRP projects.

image

entromp commented 2 years ago

Is it possible that the controller names have been changed? Would it be possible to get a log using adb? I'm interested in the lines that try to enable the correct input/tracking component based on the controllers that were connected. The following names have been used so far: "PicoXR Controller-Left" "PicoXR Controller-Right"

entromp commented 2 years ago

The PicoXR SDK symbol was not registered correctly, it should be correct starting from UltimateXR v0.9.0. Now the PicoXR installation should show up: image.

Pico 3 Neo Pro controllers and headset were working correctly with Pico Unity Integration 2.0.5. I will update to the latest Unity Integration version to see if something changed.

entromp commented 2 years ago

I installed the PicoXR Unity Integration v2.1.1 and as I suspected, the controller names changed. It has been fixed in commit https://github.com/VRMADA/ultimatexr-unity/commit/4325a04f7384e8fba3c18d848b5ff605b0093717 I haven't created a new release (.unitypackage) yet, but if you're using github or the package manager to install UltimateXR instead, you should be able to update easily.

entromp commented 2 years ago

Would you be able to test the update to close the issue? Thanks!

RandomAJL commented 2 years ago

Sorry for the delay. Our Pico was away being demo'd to clients. We only have 1 in the office 😔. Anyways I've tested the fix, works perfectly now. Thanks!