Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b13
Issue ID
806865
Regression
No
GetKey returns false when checking for multiple keys held down when new scene is loaded
Steps to reproduce:
1. Open attached project "getkey.zip"
2. Open "GetKey bug" scene
3. Run the project
4. Hold "A" and "S" keys down
5. Notice how after a new scene loads Unity Editor indicates (Input.GetKey(KeyCode.S) && Input.GetKey(KeyCode.A)) as false even though keys are still being pressed (gif attached)
Note: Editor successfully detects input after scene change if one key is being pressed. Editor detects multiple keys IF they are pressed at the exact same moment (happens rarely, you have to be very quick).
Reproduced with: 5.3.0f4, 5.3.5f1, 5.4.0b21
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
Add comment