So I am just testing my game on my Xbox Devkit
My problem is that I have a New Input System from Unity
I opened my game, the controller starts working, But if the controller disconnected and reconnected it to Xbox, This error shows up and I don't know how to fix it, I'm just an intermediate but not from a new input system, Please tell me how to fix this in case if the controller disconnects.
InputOutOfRangeException during event processing of Dynamic update. resetting event bufferInputOutOfRangeException: Index was outside the bounds of the array