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
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()
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2019.4):
fixed in version 2019.4.0f1