You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mainly an issue of the oculus quest, thou it is a bug that needs to be fixed.
When a gamepad is disconnected, the vr interaction controller that was enabled here - https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/VR/vrExperienceHelper.ts#L1411 is not being disabled. the gamepad is disposed without taking care of the interaction controller, which leads to multiple events executed when the gamepad is reconnected and vr mode is still on (again, at the moment only an issue with the oculus quest).
This is mainly an issue of the oculus quest, thou it is a bug that needs to be fixed.
When a gamepad is disconnected, the vr interaction controller that was enabled here - https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/VR/vrExperienceHelper.ts#L1411 is not being disabled. the gamepad is disposed without taking care of the interaction controller, which leads to multiple events executed when the gamepad is reconnected and vr mode is still on (again, at the moment only an issue with the oculus quest).
EDIT
The function that needs to be reverted is this - https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/VR/vrExperienceHelper.ts#L1388 to take transportation into account as well.
The text was updated successfully, but these errors were encountered: