Search Unity

Bug Input lag when CPU usage is high

Discussion in 'Editor & General Support' started by TheGamery, Jun 12, 2020.

  1. TheGamery

    TheGamery

    Joined:
    Oct 14, 2013
    Posts:
    94
    Upgraded to 2019.4.0f1 LTS recently and noticed in our project we get horrible input lag in editor (gets worse with more CPU usage), I added a script that logs GetKey, GetAxis, GetAxisRaw and I've noticed they get stuck, like if a player is moving and then I let go of all controls, GetKey is still true along with GetAxis/GetAxisRaw showing input. I've tried playing with input gravity/sensitivity but it doesn't seem to make a difference.

    Has anyone else had this issue?
     
  2. HiddenMonk

    HiddenMonk

    Joined:
    Dec 19, 2014
    Posts:
    987
  3. TheGamery

    TheGamery

    Joined:
    Oct 14, 2013
    Posts:
    94
    HiddenMonk likes this.