Search Issue Tracker

Won't Fix

Votes

2

Found in

5.3.5f1

Issue ID

813676

Regression

Yes

Input.mousePosition is not reporting negative values after going out of playspace

Input

-

1. Open User attached project & play Test scene
2. Be sure that Maximize on Play option is checked and aspect ratio is set to 16:9
3. Drag mouse to left most wall of play space(the blue area of screen)
Notice value of Input.mousePosition.x being printed out to console is close to 0

4. Drag mouse out of blue area(play space)
Notice value of Input.mousePosition.x is set to Right most value coordinate of black bar.

5. Drag mouse around the rightmost corner (right black bar)
Notice that Input.mousePosition.x is locked.

TL;DR I am attaching a video. Notice mouse position and coordinates being printed out.

Reproduced on: 5.3.5f1, 5.3.5p7
Not reproduced on: 5.4.0f1, 5.2.0f3

Comments (1)

  1. Elringus

    Jul 21, 2016 17:04

    In 5.4.0f1 it's working only in editor, but not in builds (win).

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.