Search Issue Tracker

Fixed in 1.1.1

Votes

0

Found in [Package]

1.1.1

Issue ID

1371269

Regression

No

[Input System] Mouse.current.leftButton.isPressed returns true when right-clicking to return focus to the Player

Package: Input System

-

Reproduction steps:
1. Open the user's attached "Input Focus Bug.zip" project
2. Build and Run the Player
3. Left-click outside the player to lose focus
4. Right-click back into the Player

Expected result: "Mouse.current.leftButton.isPressed" is false and red circle does not appear
Actual result: "Mouse.current.leftButton.isPressed" is true and red circle appears

Reproducible with: 1.1.0-pre.6, 1.1.1 (2020.3.21f1, 2021.1.28f1, 2021.2.0a15)
Not reproducible with: 1.1.0-pre.6, 1.1.1 (2021.2.0a16 , 2022.1.0a12)
Couldn't test with: 1.1.0-pre.6, 1.1.1 (2019.4.31f1) (Package Manager errors after downgrade)

  1. Resolution Note (fix version 1.1.1):

    Fixed in: 1.1.1 (2021.2.0a16)

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.