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
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
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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
Elringus
Jul 21, 2016 17:04
In 5.4.0f1 it's working only in editor, but not in builds (win).