Search Issue Tracker
In Progress
Fixed in 2022.3.46f1, 6000.0.18f1, 7000.0.0a1
Fix In Review for 2021.3.44f1
Votes
0
Found in
2021.3.41f1
2022.3.39f1
6000.0.12f1
7000.0.0a1
Issue ID
UUM-76647
Regression
No
[Linux] Mouse cursor gets unlocked while in Play Mode
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open “Scenes/SampleScene” Scene in the Project window
3. Enter Play Mode
4. Focus the mouse cursor in the Game View (cursor should disappear)
5. Press the “E” key
6. Observe the Game View
Expected result: The mouse cursor remains locked (hidden)
Actual result: The mouse cursor is unlocked (visible)
Reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.12f1
Reproducible on: Ubuntu 24.04, Ubuntu 22.04 (user)
Not reproducible on: Windows 10
UPDATE:
This issue is caused because GTK dispatches a 'focus-out-event` signal when the ProgressDialog is displayed resulting in GameView releasing CursorLock. This behavior appears specific to X11 and/or GNOME window manager, in which the top-most window always has keyboard focus. It's not something we can reasonably change.
However, a work-around fix may still be possible.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
Add comment