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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment