Search Issue Tracker

Fix In Review for 2021.1

Planned for 2019.4, 2020.1, 2020.2

Votes

9

Found in

2019.3

2019.3.7f1

2020.2

Issue ID

1248389

Regression

No

[Linux] InputSystem's Mouse delta values do not change when the Cursor lockState is set to Locked

Linux

-

How to reproduce:
1. Open the attached project (1248389.zip)
2. Enter Play Mode
3. Select the "Main Camera" GameObject in the Hierarchy
4. Press the "L" key on the keyboard to lock the cursor
5. Move the mouse and observe the "Mouse Delta" X and Y values in the Inspector under the "Test" script

Expected result: The X and Y values change as long as the mouse is moving
Actual result: The X and Y values always show 0

Reproducible with: 2019.3.15f1 (0.2.10), 2020.1.0b10, 2020.2.0a12 (1.0.0)
Could not test with: 2017.4.40f1 (Doesn't have a Package Manager), 2018.4.23f1 (Doesn't have an InputSystem package), 2019.3.15f1 (0.2.8) (InputSystem doesn't work due to missing "PlayerLoop" namespace)

Notes:
1. Tested on Windows 10 and Ubuntu 18.04
2. Doesn't reproduce on Windows 10
3. Doesn't reproduce on the Linux Player, only the Editor
4. Doesn't reproduce using the old Input system

Comments (1)

  1. 6ae616afa329b525656971048e925976?d=mm

    P0150N

    Oct 12, 2020 13:48

    +1 on this, also happens on 2020.1.8f1. Are there any updates on this? I opened a similar issue on this one 2 months ago and was directed to this with the state "fix in review", but now it's back to Active?

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.