Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.36f1

2021.3.6f1

2022.1.10f1

2022.2.0b2

2023.1.0a3

Issue ID

UUM-9662

Regression

No

"Mouse.delta" returns zero when moving the cursor against the screen edge when using a Remote Desktop Connection on Windows

--

-

How to reproduce:

# Open the user-attached project (InputSystem MouseDelta Bug.rar)
# Open the SampleScene and enter Play Mode
# Make sure that the Game view is maximized
# Move the mouse cursor around and note the flickering
# Move the mouse cursor against the side of the screen

Expected result: the Game view flickers indicating that the mouse delta isn’t zero

Actual result: the Game view remains black indicating that the mouse delta is zero

Reproducible with: 2020.3.36f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0b2, 2023.1.0a3

Reproducible on: Windows 10, Ubuntu 20.04

Notes:

# Documentation page mentioning the expected behavior: [https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.Pointer.html#UnityEngine_InputSystem_Pointer_delta|https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.Pointer.html#UnityEngine_InputSystem_Pointer_delta]
# Reproducible when using a remote desktop connection or a KVM switch emulator (like Barrier) and reproducible on Linux without any additional software

  1. Resolution Note:

    When the mouse cursor is against the edge of the screen and you are running Unity through a remote desktop session, Unity does not receive any input events from the OS. Unfortunately, this seems to be a limitation of RDP and we cannot fix it.

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.