Showing results for 
Search instead for 
Did you mean: 

Problem with support of XRInputSourcesChangeEvent event by the Quest browser

Honored Guest


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. 🙂


Honored Guest