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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note:
Postponing until further notice due to higher priority needs. We hope to revisit this at a later time.