Hey guys!
I just updated my project to Unity 2021.1.7f yesterday and I’m having this really strange behaviour happening: I’m using Input.GetKey(xxx) to move around in a 2D platformer, and for some reason since the upgrade yesterday, some keys remained in the “pressed state” even after I lift my fingers of the keyboard (I have tried different keyboards, so not a hardware issue here). It works for 5 seconds, then some weird input thing happens, then it works for 3 seconds, etc. It feel all very unresponsive and i’m too baffled as I’ve never experienced this issue before.
I’ve put debuglogs in the update after if(Input.GetKey(KeyCode.A)) for example and the debug still triggers constantly after I’ve removed my fingers from the keyboard, so it gets called in the update even though im not inputting anything. Anybody as an Idea of what is happening here?
I did export my build and the issue disappears, it’s only doing it inside the editor.
UPDATE: I’ve copied the build and reverted it into a 2019.4.23f and it works fine again, so it deff has to do with the Unity version upgrade. I’m on Mac OSX Catalina 10.15.4