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
- [MacOS] Invalid Code Signing Entitlements errors appear when signing MacOS project for App Store
- Missing UNITY_MATRIX_IT_MV definition in HDRP shaders
- ScrollRect panel not resizing correctly to fit text
- Scroll bar doesn't show full text
- [Linux] AutoLocale: current locale expects 'C' but got error is thrown when starting a project
This is a duplicate of issue #857999