Search Issue Tracker

Third Party Issue

Votes

0

Found in

2018.4

2019.4

2020.2.7f1

2020.3

2021.1

2021.2

Issue ID

1319883

Regression

No

[Mac] Input.GetAxis not resetting to 0 when no keys are pressed in the old Input Manager

MacOS

-

The Unity Input "Horizontal" and "Vertical" Axes seem to get hung up or stuck when playing in editor in Unity 2020.2.6 and 2020.2.7.
Input Manager settings look completely normal to me, and this doesn't seem to affect WebGL builds; it just happens in Editor.
In Project Settings > Player, Active Input Handling is set to Input Manager (Old).
I do have several applications set up in the OS to allow Input Monitoring (pics included). Not sure if that affects it at all.
When I say this happens "Sometimes", it *never* happened before 2020.2.6, and now it happens several times per day.

2. How can we reproduce it using the example you attached
a. Open __Scene_0.
b. Press Play.
c. Use arrow keys to move the ship and hold space bar to shoot.

It only happens sometimes, and seems to only happen on macOS Catalina (10.15)

  1. Resolution Note (2021.2.X):

    This appears to be an issue most visible on macOS Catalina where macOS does not deliver the keyup event in a timely manner in cases where the message loop is delayed. The issue appears to be fixed in Big Sur. Though if anyone sees it in Big Sur, please let us know.

Comments (2)

  1. Martin-Kraus

    Apr 22, 2022 05:46

    I see the issue with Unity 2020.3.24f1 on macOS Monterey 12.3.1.

  2. Stakk3r

    Jun 21, 2021 08:26

    This now happens to me on Big Sur 11.4 and Unity 2021.1.11f1.

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.