Search Issue Tracker

Fixed in 5.2.0

Votes

36

Found in

5.1.2f1

Issue ID

715666

Regression

No

[Full-Screen] Input.mousePosition output does not match the displayed view on the screen

Input

-

To reproduce the bug follow the steps
1. Open "InputMousePosition" project
2. Open "Test" scene
3. Build & Run
4. Select resolution that is different from Home Resolution of your computer screen
5. Press Play

Unity 5.1.X:

Input.mousePosition will return values that are out of the screen coordinates. User used workaround to get correct position of the mouse.

Unity 5.2.X (black boarders):
Input.mousePosition zero coordinates starts from bottom of black boarders, also input ratio does not fit the graphical view ratio.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.