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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #857999