Forum Discussion
LaurentMT1
2 years agoHonored Guest
Problem with support of XRInputSourcesChangeEvent event by the Quest browser
Hi,
I'm working on the development of a WebXR application and I've recently noticed an issue when the input controllers are temporarily lost and "reconnected".
The reconnection triggers a XRInputSourcesChangeEvent event with an "added" property listing XRInputSource objects associated to each controller that is reconnected. These XRInputSource objects are supposed to have a gamepad property but it seems that this property is not set correctly (it's null) when a controller is reconnected.
The problem doesn't occur the first time the controllers are detected after the initialization of the XRSession.
The problem isn't reproduced on a different browser (wolvic).
Expected behavior: XRInputSourcesChangeEvent should provide an "added" property listing XRInputSource objects with a properly initialiazed gamepad property when a controller is "reconnected".
Any idea for a workaround until a fix is implemented would be appreciated. 🙂
1 Reply
- LaurentMT1Honored Guest
Sorry for posting on the wrong forum. Discussion moved here: https://communityforums.atmeta.com/t5/Other-VR-Development/Problem-with-implementation-of-XRInputSourcesChangeEvent-on/td-p/1185151
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 7 months ago
- 12 months ago
- 5 months ago