Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Votes
0
Found in
2021.3.37f1
2022.3.26f1
2023.2.20f1
6000.0.0f1
Issue ID
UUM-70609
Regression
No
The mouse cursor is positioned in the center when Cursor.LockState is set to CursorLockMode.Confined and changing the mouse position
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Move the mouse somewhere that is not the center in the Game View
5. Click and hold left mouse button
6. Release the left mouse button
7. Observe the Game View
Expected result: The mouse cursor is at the same position it was before clicking the left mouse button
Actual result: The mouse cursor is in the center of the Game View
Reproducible with: 2021.3.37f1, 2022.3.26f1, 2023.2.20f1, 6000.0.0f1
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Workaround: Setting the Cursor.LockState to CursorLockMode.None before changing the mouse position and then setting the Cursor.LockState to CursorLockMode.Confined after the mouse position is already changed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
Add comment