Search Issue Tracker
Duplicate
Votes
0
Found in
2020.3.0f1
2021.1.0b9
2021.2.0a6
Issue ID
1321495
Regression
Yes
CursorLockMode.Locked doesn't lock the cursor when entering the Play Mode after the first time
How to reproduce:
1. Open the user's attached "CursorTest" project
2. Open the Scene "SampleScene"
3. Enter the Play Mode
4. Exit the Play Mode
5. Enter the Play Mode
6. Move your mouse around (try to hover over GameObjects in the Hierarchy, move it out of the Editor window)
Expected results: The cursor is locked
Actual results: The cursor is not locked
Reproducible with: 2020.3.0f1, 2020.3.0f1, 2021.1.0b9, 2021.1.0f1, 2021.2.0a6
Not reproducible with: 2018.4.33f1, 2019.4.22f1, 2020.2.7f1, 2021.1.0a1, 2021.1.0b8, 2021.2.0a1, 2021.2.0a5
Notes:
- The cursor will become invisible
- As a temporary workaround it's possible to press Esc and press on the Game view, this will lock the mouse
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
This is a duplicate of issue #1302708