Search Issue Tracker

Fixed in 1.3.X

Votes

1

Found in [Package]

1.1.0-preview.1

Issue ID

1311018

Regression

No

UGUI Toggle malfunctions when "Simulated Touch Input from Mouse or Pen" is enabled

Package: Input System

-

Reproduction steps:
1. Open attached project "Input System Mouse Click.zip" and scene "SampleScene"
2. In Input Debugger window, enable Options -> Simulated Touch Input from Mouse or Pen
3. Enter Play Mode
4. In Game View, click the checkbox in the top left corner of the screen three times
5. Move the cursor around and repeat step 3

Expected result: Toggle switches state after every mouse click
Actual result: Toggle doesn't switch state from the first click after the cursor has moved

Reproducible with: 1.1.0-preview.1 (2019.4.20f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a4)
Could not test with: 2018.4.31f1 (compilation errors), 1.1.0-preview.2 ("Pointer should have exited all objects before being removed" error, Case: 1190150)

  1. Resolution Note (fix version 1.3):

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.