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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment