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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
This is a duplicate of issue #1302708