Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

NavMeshAgent detaches itself from the object in Unity5

Discussion in 'Navigation' started by Ness, Mar 25, 2015.

  1. Ness


    Oct 1, 2012
    Just upgraded my project to Unity 5 and found that somehow NavMeshAgent is able to detach itself from the player object:

    Is this a bug or is it caused by some new feature in Unity5?
    I'm using Mechanim root motion to move the player object, I use nav mesh only to calculate where to move. In this case changing the speed of nav mesh agent changes how it moves.
    For whole Unity4 cycle I had never came across such problem.
    Any idea how to make NavMeshAgent be always attached to player object in Unity5?
    Last edited: Mar 25, 2015
    jpthek9 likes this.
  2. jpthek9


    Nov 28, 2013
    Yes, this makes it difficult to run NavMeshAgent in FixedUpdate.