Search Issue Tracker

Fixed in 1.3.0

Votes

1

Found in [Package]

1.1.1

Issue ID

1365433

Regression

No

Linux Editor's new input system's mouse scroll delta values are clamped between -1 and 1 and are inverted

Package: Input System

-

How to reproduce:
1. Open the attached project (ScrollTest.zip)
2. Open the Main scene
3. Enter PlayMode
4. Scroll up on the mouse scroll wheel and observe the Console output

Expected result: the printed scroll delta's Y value is positive and exceeds 1 (180 or 240)
Actual result: the printed scroll delta's Y value is negative and is not less than -1

Reproducible: 2019.4.30f1, 2020.3.19f1, 2021.1.22f1, 2021.2.0b12, 2022.1.0a10

Notes:
1. Reproducible on Ubuntu 20.04
2. Not reproducible on Windows 10
3. On the Linux player the values are not clamped between -1 and 1 but are still inverted compared to Windows 10
4. The scroll values are not inverted when using the old input system
5. Issue present on all Input System package versions available on the reproducible Editor versions

  1. Resolution Note (fix version 1.3.0):

    Fixed in 2022.2.0a16 with Input System version 1.3.0

  2. Resolution Note:

    Fixed in 2020.3.41f1

  3. Resolution Note:

    Fixed in 2021.3.5f1

  4. Resolution Note:

    Fixed in 2022.1.5f1 with Input System version 1.3.0

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.