Search Issue Tracker

Active

Votes

0

Found in

2017.4

2018.4

2019.2

2019.2.13f1

2019.3

2020.1

Issue ID

1204882

Regression

No

Input.GetKey for Left Shift returns true when Right Shift is held down and Left Shift is pressed (and vice versa)

Input

-

Steps to reproduce:
1. Open the attached project (case_1204882_ShiftInput.zip)
2. Enter Play mode
3. Press and hold down Right Shift and observe the output in the Console
4. Press Left Shift once and observe that GetKey is continuously triggered for Left Shift and no GetKeyUp event was logged to the Console
5. Release Right Shift

Expected result: GetKey() and GetKeyUp() are only triggered for the corresponding key
Actual result: GetKey() for the Shift key that was pressed once returns true while the other key is held down and GetKeyUp() events are fired at the same time as the held key is released

Reproduced in: 2017.4.35f1, 2018.4.14f1, 2019.2.16f1, 2019.3.0f3, 2020.1.0a16

Note: this seems to happen ONLY with Shift and no other modifier keys

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.