Search Issue Tracker

Fixed

Fixed in 2019.4.X

Votes

0

Found in

2019.3.8f1

2019.3.9f1

Issue ID

1250626

Regression

Yes

New Input System's OnActionChange callback is delayed when holding down a button with low FPS

Input

-

How to reproduce:
1. Open user's attached project
2. Enter Play Mode
3. Make sure the Console window is visible
4. Press and hold the Space bar for 5 seconds
5. Press any WASD button to move the Player
6. Observe the Console log
7. Select "BadFrameRate" GameObject
8. Change the TargetFPS value to 10
9. Repeat steps from 4 to 6.

Expected result: Callback logs are called without any delay when holding down a button with low FPS
Actual result: Callback logs are delayed when holding down a button with low FPS

Reproducible with: 2019.3.8f1, 2019.3.15f1
Not reproducible with: 2019.3.7f1, 2020.1.0a6, 2020.1.0b10, 2020.2.0a13
Could not test with: 2017.4.40f1 (New Input System not supported), 2018.4.23f1 (InputSystem does not exist in the namespace UnityEngine), 2020.1.0a1-2020.1.0a5 ("AssetDatabase does not contain a definition for MakeEditable" error message)

Note: The lower the FPS, the bigger delay.

  1. Resolution Note:

    Fixed in: 2020.1.0a6

  2. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.3f1

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.