Search Issue Tracker

Fixed in 2019.4.X

Votes

0

Found in

2019.3

2019.3.10f1

Issue ID

1240029

Regression

Yes

Severe Input lag when time consuming operations are performed in the Main Thread

Input

-

How to reproduce:
1. Open "case_1240029" project
2. Click Play
3. Click on "Custom_GameObject" in the Hierarchy window
4. Open the Game View window
5. Hold down any key for 2 seconds and then release
6. Observe "Unity KeyCode Tester" on the Game View screen

Expected results: Unity Keycode Tester stops showing the key you pressed right after releasing it
Actual results: Unity Keycode Tester lags, shows the key pressed a couple of seconds after release

Reproducible with: 2019.3.8f1, 2019.3.16f1
Not reproducible with: 2018.4.23f1, 2019.3.7f1, 2019.4.0f1, 2019.4.1f1, 2020.1.0b13, 2020.2.0a15

Notes:
- Active Input Handling in Player set to "Both" causes an even bigger delay after key release
- To simulate time-consuming operations I used thread.sleep()

  1. Resolution Note (fix version 2019.4):

    fixed in version 2019.4.0f1

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.