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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.