Search Unity

Nav Agent will move once but then does nothing when I try to move again.

Discussion in 'Navigation' started by Twanner, Sep 3, 2019.

  1. Twanner

    Twanner

    Joined:
    Dec 6, 2014
    Posts:
    33
    Hey guys, I'm having a weird issue with nav agents in 2019.2. The agent works perfectly on the very first move after starting using agent.SetDestination(target.transform.position) HOWEVER after the move is completed and I try to move again nothing happens. The method executes and no errors are thrown but the object doesn't move.

    any ideas?
     
  2. Twanner

    Twanner

    Joined:
    Dec 6, 2014
    Posts:
    33
    Scratch that. I'm a dork. I had a spot where I was stopping the agent and hadn't started it again.