Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2017.4.28f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1161911
Regression
No
Input.mousePosition changes when Cursor.lockState is CursorLockMode.Locked
How to reproduce:
1. Open the attached project ("case_1161911-Test_Crosshair1")
2. Open the repro scene ("SampleScene")
3. Enter the Play mode
4. Move the mouse, notice that printed mouse position changes even though the cursor is locked
Expected results: Cursor is locked and the position does not change at all
Actual results: Cursor position changes slightly when moving the mouse
Reproducible with: 2017.4.29f1, 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6
Comments (1)
-
unity_dnL0Ai3VsD0TVg
Feb 10, 2020 15:22
Dear Unity Developers,
My question is: When this new and wonderful new input system will be released? I have this problem in the development of my game, and I can't find solutions to solve it. I hope this new input system can help me.
Thanks
Moacir Jr.
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
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Resolution Note:
As we are quickly reaching the 1.0 release of the new input system, we no longer have the resources to maintain the legacy system. The old input system is currently being deprecated.