Oh. Just reproduced without Rewired.
Just using "Input.GetKey( KeyCode.W) " will cause the bug…
Probably this is specific to macOS editor. I really wish there were more engineers at Unity using macOS, cause the usability is getting worse every version. Not to mention the invisible, blacked-out-panels in the new version of Unity.
But to be clear, I’ve been experiencing this bug since LTS 2020.3.17 on an intel mac (probably when the underlying Input changed… and caused this bug ). It’s just even worse now in 2021.2.2.
Repro steps:
- open SampleScene.unity
- tap W and S to move cube
- Sometimes, after tapping W or S, it will get stuck, making your cube continue moving forever.
- Move the mouse or hit any other key on the keyboard to “reset” the stuck input.
7648687–953611–sticky_input_bug.zip (6.46 MB)