InputManager icon indicating copy to clipboard operation
InputManager copied to clipboard

InputManager loses all set controls in control scheme after pressing pause

Open CraftedPvP opened this issue 5 years ago • 4 comments

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?

CraftedPvP avatar Apr 07 '20 07:04 CraftedPvP

This is probably the same issue as #32. I had it fixed in older versions but I made a lot of changes since then and it probably doesn't work anymore. I will look into it and see what can be done. It will probably take 1-2 days though.

daemon3000 avatar Apr 07 '20 09:04 daemon3000

hi, just checking back if the issue has been fixed 😄

CraftedPvP avatar Apr 14 '20 07:04 CraftedPvP

No, I was very busy. Sorry. Will try to fix it this week.

daemon3000 avatar Apr 14 '20 07:04 daemon3000

no worries, take your time. not in a rush

CraftedPvP avatar Apr 14 '20 07:04 CraftedPvP