Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.2.14f1

Issue ID

1096406

Regression

Yes

user32.dll SetCursorPos function always moves the Cursor to the center of the screen when CursorLockMode is set to None

Windows

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Steps to reproduce:
1. Open users project
2. Press Play
3. Move the mouse across the Game Window
4. Press the right mouse button

Expected results: Mouse appears in the bottom left corner of the Game window at X=100, Y=100
Actual results: Mouse appears in the middle of the Game window

Reproducible with: 2018.1.0a1, 2018.3.0f2, 2019.1.0a11
Not reproducible with: 2017.4.16f

Note: 2018.1.0a1,2018.1.0b1 and 2018.2.0a1 makes the cursor appear in the middle and then quickly after that makes it appear in the bottom left corner (as it should be)

Update: Fixed in: 2018.3.10f1, 2019.1.0b7, 2019.2.0a7

Response avatar

Resolution Note:

Fix available in 2019.2.0a7

All about bugs

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