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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment