Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
6
Found in
2020.3
2021.1
2021.1.9f1c1
2021.2
Issue ID
1342999
Regression
No
GetMouseButtonUp(0) doesn't return true sometimes
How to reproduce:
1. Open the attached project "GetMouseButtonUp.zip"
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Click until the cube doesn't turn back to white from red
Expected result: GetMouseButtonUp(0) returns true and cube turns white
Actual result: GetMouseButtonUp(0) doesn't return true and the cube stays red
Reproducible with: 2020.3.12f1, 2021.1.11f1, 2021.2.0b1
Notes:
- The bug happens randomly
- On macOS, if the function doesn't return true on click then the return true is delayed until any other input, for example - mouse movement
- On Windows when GetMouseButtonUp(0) doesn't return true the next GetMouseButtonDown(0) doesn't return true as well
- Tried >1000 clicks on 2018.4.36f1 and 2019.4.28f1, but the problem didn't occur, however since the bug is random it's not certain that it's not reproducible with those versions
Comments (1)
-
makaka-org
Sep 24, 2021 11:11
I faced this issue on macOS in Unity Editor only.
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
- Erratic Mesh panning behavior in Inspector Mesh Preview when panning fully zoomed out
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note:
Postponing until further notice due to higher priority needs. We hope to revisit this at a later time.