NoelFB / Celeste

Celeste Bugs & Issue Tracker + some Source Code
MIT License
3.54k stars 419 forks source link

PlayerIndex incorrect #11

Closed AgentSmith8 closed 6 years ago

AgentSmith8 commented 6 years ago

Hi guys,

I believe this is triggered when a controller vibration occurs in the game (and if rumble settings are accessed). The error occurs with multiple controllers (XBox 360 PC Gamepad).

Ver 1.2.2.0 13-Apr-18 03:45:22 PM System.InvalidOperationException: An invalid operation was performed. Is your PlayerIndex correct? at Microsoft.Xna.Framework.Input.GamePad.SetVibration(PlayerIndex playerIndex, Single leftMotor, Single rightMotor) at Monocle.MInput.Shutdown() at Monocle.Engine.OnExiting(Object sender, EventArgs args) at Microsoft.Xna.Framework.Game.HostExiting(Object sender, EventArgs e) at Microsoft.Xna.Framework.GameHost.OnExiting() at Microsoft.Xna.Framework.WindowsGameHost.Run() at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun) at Monocle.Engine.RunWithLogging()

NoelFB commented 6 years ago

Duplicate of existing issue https://github.com/NoelFB/Celeste/issues/1 (but thanks for the info!)