Search Issue Tracker

Fixed in 1.1.0-pre.5

Votes

1

Found in [Package]

1.1.0-preview.2

Issue ID

1289438

Regression

No

[Input System] Button.started and Button.canceled order gets reversed when clicking Special Keys outside the Game View window

Package: Input System

-

Reproduction steps:
1. Open the user's attached "Demonstration" project
2. Open Assets/Scenes/SampleScene
3. Enter Play Mode
4. Press the Left Shift Key
5. Without releasing the Left Shift Key, click outside the Game View window
6. Without releasing the Left Shift Key, click inside the Game View window
7. Release the Left Shift Key

Expected result: On Left Shift Key release nothing gets printed out in the console window
Actual result: On Left Shift Key release "Pressed" gets printed in the console window

Reproducible with: 1.0.0 (2019.4.15f1), 1.1.0-preview.1 (2020.1.14f1), 1.1.0-preview.2 (2020.2.0b12, 2021.1.0a6)
Can't test: 2018.4 (package version too old)

Note:
- Seems to only be reproducible on Mac
- The issue is only reproducible with special keys that have 2 buttons on a keyboard (Left/Right Shift, Left/Right Ctrl)

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.