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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #857999