Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.2f2
Issue ID
852767
Regression
No
Setting Cursor.lockState from Locked to CursorLockMode.None, returns uncentered pointer
Reproduction steps:
1. Open attached project (Cursor.zip)
2. Open "3D Objects" scene
3. Hit play
4. Press "space" to lock the cursor
5. Press "space" again to unlock the cursor
Expected result:
Cursor is centered (points to red small cube)
Actual result:
Cursor is above screen center
Note:
5.4/5.5b documentation states: "When locked, the cursor will automatically be centered on view", hence it should appear centered when unlocked.
Reproduced on 5.2.5f1, 5.3.3f1, 5.4.3p1, 5.5.0f1, 5.6.0a3
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
This is a duplicate of issue #857999