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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is 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.