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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.3.0):
Fixed in: Input System 1.3.0