Search Issue Tracker

Fixed in 1.3.0

Votes

0

Found in [Package]

1.1.0-preview.3

Issue ID

1330014

Regression

No

OnClick isn't triggered on the second click when the mouse isn't moved and Simulate Touch Input from Mouse or Pen is enabled

Package: Input System

-

How to reproduce it:
1. Open the user's attached project "Input System Touch Input Bug Replication.zip"
2. Open the Input Debug window (Window > Analysis > Input Debugger)
3. In the Input Debug window make sure "Simulate Touch Input from Mouse or Pen" is enabled in the Options dropdown list
4. Enter Play Mode
5. Click on the button twice (don't move the mouse between clicks)

Expected result: The button is clicked twice
Actual result: The second click doesn't trigger the OnClick event

Reproduces on: 1.0.2, 1.1.0-preview.3 (2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a17)
Could not test with: 2018.4.35f1 - Input Debugger was not yet available

Notes:
- Not reproducible after moving the mouse between clicks

  1. Resolution Note (fix version 1.3.0):

    Fixed in: 1.3.0 (2019.4.0f1)
    Fixed by: https://github.com/Unity-Technologies/InputSystem/pull/1449

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.