Forum Discussion
LaurentMT1
2 years agoHonored Guest
Problem with implementation of XRInputSourcesChangeEvent on 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).
Environment:
- Headset: Meta Quest 3
- Version: 64.0.0
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
It seems that problem has been fixed in most recent versions (v79)
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
- 8 months ago
- 2 years ago
- 2 years ago