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
When using a gamepad and leaving a scene, I get the error cannot removeAllListeners() from undefined. I believe this is caused by the code in [
phaser/src/input/gamepad/GamepadPlugin.js LN 294 - 308 not checking for null while doing the loop. Since some of the gamepads return null in the array, the game crashes. I believe this is only for some machines with gamepads that are null, but my machine is one of them.
Example Test Code
Additional Information
I have fixed it locally, so I will open a PR for my fix shortly