Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2023.1.0b6
Votes
0
Found in
2020.3.45f1
2021.3.19f1
2022.2.5f1
2023.1.0b2
Issue ID
UUM-27711
Regression
Yes
[Linux] Mouse appears when dragging it outside the Player window while Cursor.lockState is set to Locked
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click File > Build
3. In the Build folder, open the Terminal, and launch the Build with the "-mode host" argument
4. In Player, hold RMB and drag the mouse outside the Player window
5. Observe that the mouse appears outside the Player window
6. While still holding RMB, drag the mouse inside the Player window
7. While still holding RMB, drag the mouse outside the Player window
8. Observe that the mouse does not appear outside the Player window
Expected result: Mouse should not appear outside the Player window at all while Cursor.lockState is set to Locked
Actual result: Mouse appears outside the Player window the first time, while Cursor.lockState is set to Locked
Reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.5f1, 2023.1.0a10, 2023.1.0b2
Not reproducible with: 2023.1.0a1, 2023.1.0a9
Couldn’t test with: 2022.2.6f1 - 2022.2.8f1, 2023.1.0b3 - 2023.1.0b5, 2023.2.0a3 (Couldn’t test, because Input System 1.4.4 is not supported, but 1.5 doesn’t work with the Input Actions files)
Reproducible on: Ubuntu 22.04
Not reproducible on: Windows 10 Pro 22H2
Note: Tested everything with Input System 1.4.4
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2021.3.29f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-25736
Resolution Note (fix version 2023.1.0b6):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-25736