Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.42f1
2021.3.15f1
2022.1.24f1
2022.2.1f1
2023.1.0a22
Issue ID
UUM-22206
Regression
No
Input.GetMouseButton(1) is not updated when releasing LMB and RMB outside of the Game view
Reproduction steps:
- Open the attached “Input GetMouseButton_1 Issue” project
- Open the “SampleScene” scene
- Enter the Play Mode
- While the mouse cursor over the Game view press and hold LMB and RMB
- While holding LMB and RMB move the mouse outside of the Game view
- Release LMB and RMB
- Observe the Game view
Expected result: MouseButton1 is set to false
Actual result: MouseButton1 is set to true
Reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a22
Reproduced on: Windows 10
Note: Although in 2023.1 MouseButton0, sometimes after repro steps, becomes true, the behavior is intermittent, with no consistent repro. Is not reproducible in the new input system.
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
We won't be fixing this bug any time soon. It sadly is of a lower priority and we want to be upfront with expecations. Very sorry.