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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Resolution Note (fix version 1.3.0):
Fixed in: Input System 1.3.0