Search Issue Tracker
Fixed
Fixed in 2021.3.44f1, 2022.3.46f1, 6000.0.18f1, 7000.0.0a1
Votes
0
Found in
2021.3.41f1
2022.3.39f1
6000.0.12f1
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
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
- Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
Add comment