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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Postponing until further notice due to higher priority needs. We hope to revisit this at a later time.