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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 1.3.0):
Fixed in: Input System 1.3.0