Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2019.1.X, 2019.2.X
Votes
0
Found in
2018.1.0a1
2018.2.0a1
2018.2.14f1
2018.3.0a1
2019.1.0a1
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
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
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note (fix version 2018.3):
Fix available in 2019.2.0a7