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

  1. Resolution Note (fix version 2021.3.29f1):

    fixed mouse cursor lock

Comments (3)

  1. 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.

  2. 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!

  3. 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

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.