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
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Resolution Note (fix version 2018.3):
Fix available in 2019.2.0a7