Search Issue Tracker

Third Party Issue

Votes

0

Found in

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a4

Issue ID

UUM-125343

Regression

No

The mouse cursor can escape the bounds of the Game view when the Editor experiences a stall

-

How to reproduce:
1. Extract and open the attached “IN-122632.zip“ project
2. Enter Play mode
3. Focus the Game view window
4. Press “P“ on the keyboard
5. Try moving the mouse cursor to the edge of the screen

Expected result: The mouse cursor is not visible and stays in the bounds of the Game view window
Actual result: The mouse cursor escapes the bounds of the Game view window

Reproducible with: 2023.1.0a4, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a4

Reproducible on: Ubuntu 22.04 (Wayland)
Not reproducible on: Ubuntu 22.04 (X11), Windows 11

  1. Resolution Note:

    Wayland does not permit client applications to programmatically confine or warp the mouse pointer to a specific window.
    This behavior is intentionally disallowed by the Wayland protocol for security and usability reasons.

    Although pointer confinement is technically possible, it can only be implemented through optional compositor-supported protocols (e.g., zwp_locked_pointer_v1 / zwp_confined_pointer_v1),
    which may not be available or enabled in all environments. Additionally, they are not available through XWayland, which Unity relies on.

    Therefore, this issue cannot be fixed at this time.

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.