It always happens whenever I start the game in the Editor and click pause to do something in the script then I save my script (any script will do). The moment Unity loads the updated script, The Input manager logs a ton of errors pointing to each existing action I made and the existing ones like "UI_Left" and "Mouse_X". It doesn't recognize any of the controls anymore. So I have to stop the game from running and start it again every time I debug something in my scripts.
Can this be fixed so that whenever Unity reloads the scripts while playing the game in the Editor, the controls won't be lost?