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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
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.