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
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
Resolution Note:
Postponing until further notice due to higher priority needs. We hope to revisit this at a later time.