NoelFB / Celeste

Celeste Bugs & Issue Tracker + some Source Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlayerIndex incorrect

AgentSmith8 opened this issue · comments

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()

Duplicate of existing issue #1
(but thanks for the info!)