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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 1.3.0):
Fixed in: Input System 1.3.0