Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1112168
Regression
No
[MacOS] Input.mousePosition returns incorrect results when mouse cursor is not moving and using dual monitors
[MacOS] Input.mousePosition returns incorrect results when
* The mouse cursor is not moving
* Using dual monitors (Game Window on Mac monitor, Unity Editor on the second monitor)
* Game Window -> "Free Aspect" -> "Low Resolution Aspect Ratios" is disabled
How to reproduce:
1. Open attached project "Sweet Breakout.zip" and scene "SampleScene"
2. Have Game Window on your Mac monitor and your Unity Editor on you second monitor
3. Make sure that Game Window -> "Free Aspect" -> "Low Resolution Aspect Ratios" is disabled (choosing a fixed aspect ratio fixes the issue)
4. Enter Play mode
5. Move the mouse cursor on Game Window (the pad/board is following the cursor on x Axis)
6. Stop moving the mouse
Expected result: the pad/board stops
Actual result: the pad/board snaps to a different location
Reproducible with: 2018.2.20f1, 2018.3.7f1, 2019.1.0b5, 2019.2.0a7
Could not test with: 2018.1 and earlier due to the project crashing
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
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
- Copied and Pasted States appear in a set location instead of where the Users cursor is located at when using the Pasting Shortcut
- Animator Component information box text is not centered
Resolution Note:
With the deprecation of the old input system, we are moving users to the new input system package at https://github.com/Unity-Technologies/InputSystem and can also be found in the package manager window of Unity.