Search Unity

Android build bug: ReadValue () on left stick updates only for a few frames after pressing

Discussion in 'Input System' started by Le-Capitaine, Dec 20, 2019.

  1. Le-Capitaine

    Le-Capitaine

    Joined:
    Jan 23, 2014
    Posts:
    33
    That is, should you change direction, the input remains fixed around the value you originally pushed. I tested this by logging the values into an in-game text box, the problem is in fact ReadValue (). For what it's worth, I'm using both generic gamepad and Android gamepad bindings. Will try removing the Android bindings and test again.

    e: Removing the Android bindings did it, somehow.
     
    Last edited: Dec 20, 2019