Search Issue Tracker
Fixed
Fixed in 2021.3.29f1, 2023.1.0b6, 2023.2.0a2
Votes
2
Found in
2020.3.44f1
2021.3.16f1
2022.2.2f1
2023.1.0a26
Issue ID
UUM-25736
Regression
Yes
[Linux] Mouse escapes the application window when using CursorLockMode.Locked
Steps to reproduce:
1. Open the “CursorLockedBug” project
2. Build And Run the project
3. Click and hold the right mouse button in the application window
4. Move the mouse outside of the application window
Expected result: The cursor stays in the application window
Actual result: The cursor escapes to the outside of the application window
Reproducible with: 2020.3.44f1, 2021.3.14f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a26
Not reproducible with: 2021.1.0a1, 2021.2.0a2, 2021.3.0f1, 2021.3.13f1
Reproduced on: Ubuntu 18.04 (Intel)
Not reproduced on: macOS Monterey 12.2 (Intel)
Note: The issue is reproducible only on Linux and only in a build
-
saskenergy
Jul 13, 2023 03:57
Hi, I came back to report that the problem is separate from this issue. I managed to track it down to how I'm checking values on the new input system which has different behavior on editor and on build. To summarize, it was an issue on my own code. Sorry about that.
-
tylerinthezoo
Jul 12, 2023 22:33
this should have already been fixed in 2022.2 forward. If you still experience issues, would you mind to submit a bug report for it? Thanks a lot!
-
saskenergy
Jul 12, 2023 03:18
Issue still persists on 2022.3.4f1 LTS for Linux (Ubuntu 22.04). Can we prioritize the fix for 2022 LTS please? I'm making a multiplayer game and I'm running multiple builds to do testing. This issue really hinders development speed.
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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Resolution Note (fix version 2021.3.29f1):
fixed mouse cursor lock