How to reproduce:
1. Open the user’s attached “GetMouseButtonIssue.zip” project
2. Open the Game window
3. Open the “Game” dropdown menu and select “Simulator”
4. Enter Play Mode and press and release the left mouse button
5. Observe the Console window
Expected result: “MouseButtonIsDown” with the current frame number is logged when the button is pressed
Actual result: “MouseButtonIsDown” with the current frame number is logged when the button is pressed and when released
Reproducible with: 2021.2.0a2 ,2021.3.27f1, 2022.3.2f1, 2023.1.0f1, 2023.2.0a18
Not reproducible with: 2021.2.0a1
Reproduced on: macOS 13.2.1 (Intel)
Notes:
Also reproducible with “Input.GetMouseButtonUp”
Not reproducible in the Game Play Mode and Standalone Built Player (macOS)
Not reproducible on Windows