Search Issue Tracker
Fixed in 2021.3.33f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0a14
Votes
0
Found in
2021.3.27f1
2022.3.2f1
2023.1.0f1
2023.2.0a18
2023.3.0a3
Issue ID
UUM-39752
Regression
Yes
[macOS] “Input.GetMouseButtonDown” gets set to true when pressing and when releasing the mouse button in the Device Simulator view if "targetFrameRate" is set in the script
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
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2023.3):
Fixed in: 2023.3.0a14
Resolution Note (fix version 2023.2):
Fixed in: 2023.2.1f1
Resolution Note (fix version 2022.3):
Fixed in: 2022.3.14f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.33f1