ultimatexr-unity icon indicating copy to clipboard operation
ultimatexr-unity copied to clipboard

Bugs with controller buttons after a pause, like pressing home button and resume the app

Open CaesarGC opened this issue 2 years ago • 12 comments

Bugs with controller buttons after a pause, like pressing home button and resume the app. Excuse me, how should I deal with it?

CaesarGC avatar Dec 22 '22 09:12 CaesarGC

Hi @CaesarGC,

Which headset/controllers are you using?

entromp avatar Jan 08 '23 11:01 entromp

hi,I also encountered the same problem on Pico4's headwear device. This bug will occur when I go out of the security zone, press the main interface key or hang the application to the background

GiiiiitHubbbbbb avatar Mar 14 '23 09:03 GiiiiitHubbbbbb

Hi @CaesarGC,

Which headset/controllers are you using?

But the application I developed with the native Pico SDK will not have this problem I hope your development team can fix this problem, because when this happens, it means that users must exit the application and re-enter thanks!

GiiiiitHubbbbbb avatar Mar 14 '23 09:03 GiiiiitHubbbbbb

This bug shows that the hand posture no longer responds to the controller

GiiiiitHubbbbbb avatar Mar 16 '23 04:03 GiiiiitHubbbbbb

Do you have a Pico 3 to check if it also happens on this device?

entromp avatar Mar 19 '23 10:03 entromp

of course,Both Pico3 and Pico4 have this problem. You can directly publish and package the Demo scenario of Ultimate XR and follow my instructions to reproduce this problem

GiiiiitHubbbbbb avatar Mar 24 '23 02:03 GiiiiitHubbbbbb

Do you have a Pico 3 to check if it also happens on this device?

I had same problem, When press Home button in quest will into function InputDevices_DeviceDisconnected but pico is not into it

chengj78 avatar Jul 21 '23 08:07 chengj78

Hand and head position is tracked,but any key is disabled

chengj78 avatar Jul 21 '23 08:07 chengj78

It seems to be related to Pico's implementation not sending the DeviceConnected when going back to the application. We'll see if there is a workaround for this, thanks for reporting.

entromp avatar Aug 05 '23 10:08 entromp

We'll see if there is a workaround for this, thanks for reporting.

When press menu button and back to the application

int i=0;
foreach(UxrControllerInput input in UxrControllerInput.GetComponents(this,false)){
    print("input:type"+input.GetType().ToString() + i);
    i++;
}

print int console 08-11 18:25:16.940 28007 2291 I Unity : input:typeUltimateXR.Devices.Integrations.UxrGamepadInput0 08-11 18:25:16.941 28007 2291 I Unity : input:typeUltimateXR.Devices.Integrations.Pico.UxrPicoNeo3Input1

chengj78 avatar Aug 11 '23 11:08 chengj78

Sorry I completely overlooked this one. This certainly seems to be the issue. But why does it report a Gamepad after pausing and not at the beginning? I will create a fix right away. Thanks for reporting and sorry it took so long for me to notice :)

entromp avatar Dec 01 '23 09:12 entromp

Fixed in #56

entromp avatar Dec 01 '23 10:12 entromp