Gamepad stops working after playtest

When I connect a gamepad while the editor is open, it doesn't work in-game, I need to close and reopen the editor with the gamepad already connected. This wouldn't be a big problem, but when I close the playtest, the next time I playtest again, the gamepad stops working again and I need to close the editor another time.

So basically I need to restart the entire editor every time I want to playtest my game, or it won't work.

Is this supposed to be happening?

Original thread: https://forums.rpgmakerweb.com/threads/gamepad-stops-working-after-playtest.169371/