title: Unity 2D New Input System character not moving
body: <p>I am working on migrating to the new input system and I can't get my character to move. In my update function I have the Move function called and I am passing in the move speed to it. This is a dynamic value that changes based on a few things and I have confirmed that this number is correct. It always logs out the correct number. I am not getting any errors at run time, just the character wont move. Everything seems to be called correctly, just wont move.</p>
  <p>Am I missing something obvious that I didn't set up right with the new input system?</p>
  <pre><code>private Rigidbody2D rb;
  private PlayerInput playerInput;
  private PlayerInputActions playerInputActions;
  
  private void Awake() 
  {
      rb = GetComponent&lt;Rigidbody2D&gt;();
      playerInput = GetComponent&lt;PlayerInput&gt;();
  
      playerInputActions = new PlayerInputActions();
      playerInputActions.Player.Enable();
  }
  
  private void Update()
  {
      ...
      Move(moveSpeed);
  }
  
  private void Move(float amount)
  {
      Vector2 inputVector = playerInputActions.Player.Move.ReadValue&lt;Vector2&gt;();
      Debug.Log(&quot;amount: &quot; + amount);
      Debug.Log(&quot;inputVector: &quot; + inputVector);
      rb.AddForce(new Vector3(inputVector.x, inputVector.y, 0) * amount, ForceMode2D.Force);
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/eQrX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eQrX1.png" alt="Console Log confirming that amount and input vector are correct" /></a></p>
  <p><a href="https://i.stack.imgur.com/sPFym.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sPFym.png" alt="Input Actions Map" /></a></p>
  <p><a href="https://i.stack.imgur.com/5rilW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5rilW.png" alt="Character Inspector" /></a></p>