Search Issue Tracker

Fixed

Fixed in 2021.3.43f1, 2022.3.43f1, 6000.0.16f1, 7000.0.0a1

Votes

0

Found in

2021.3.41f1

2022.3.39f1

6000.0.12f1

7000.0.0a1

Issue ID

UUM-76326

Regression

No

Mouse cursor gets locked and hidden in the middle of the Game view when using CursorLockMode.Locked in OnDestroy()

-

Reproduction steps:
1. Open the attached “MouseLock.zip” project
2. Enter the Play mode
3. Exit the Play mode
4. Click anywhere in the Game view

Expected result: The mouse cursor does not get locked and hidden in the Game view
Actual result: The mouse cursor gets locked and hidden in the Game view

Reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.12f1

Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested

Note: Pressing the “Esc” key unlocks and shows the cursor again

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.