Search Issue Tracker
Fixed in 1.3.0
Votes
2
Found in [Package]
1.0.0-pre.6
Issue ID
1371337
Regression
Yes
Input system OnClick() action requires two inputs/clicks when using a mouse
How to reproduce:
1. Open the attached project "InputBugRepro.zip"
2. Open "GameScene" in the Assets / _Scenes folder
3. Enter Play Mode
4. Press the Space bar two times to add the player and start the game
5. Press the Esc key to open the menu
6. Press the middle button in the game called "Resume"
7. Repeat steps 5 and 6
Expected result: "Resume" button responds to a mouse click on the first click
Actual result: "Resume" button responds only after the second click
Reproducible with: 1.1.0-pre.6, 1.1.1 (2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16), 1.1.1 (2022.1.0a12)
Not reproducible with: 1.0.0-pre.5 (2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16)
Could not test with: 1.1.0-pre.5, 1.1.0-pre.6 (2022.1.0a12) - Packages are not available
Notes:
Buttons "Leave" and "Options" behave the same
Clicking anywhere in the game before pressing any of the buttons makes the button respond to a single click
When pointing the mouse to a button and pressing the Enter key the buttons respond in one press
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note (fix version 1.3.0):
Fixed in: Input System 1.3.0