Search Unity

Navmesh agent stops playing animation after 1 second

Discussion in 'Navigation' started by iankarasz, Nov 20, 2019.

  1. iankarasz

    iankarasz

    Joined:
    Feb 3, 2015
    Posts:
    7
    Hello! I'm having an issue where my navmesh agents will play their walking animation for a second then will lock up in a weird pose and continue to move around the navmesh without any animation.

    Some background: I had a scene and baked a navmesh and instantiated a couple of prefabs (that are the navmesh agents) on the navmesh through code and everything was working fine. I then changed the environment a lot and cleared the navmesh then tried to bake a new one and now when I spawn the prefabs on the navmesh this issue is happening.

    Does anyone know why I might be having this issue?
     
  2. cmyd

    cmyd

    Joined:
    Oct 29, 2017
    Posts:
    92
    Share some code, your animators and what ever you think is causing the issue.
     
  3. NorthStar79

    NorthStar79

    Joined:
    May 8, 2015
    Posts:
    70
    does your run animation is marked as Loop animation ? It sounds like it is an issue about the animation itself rather than navmesh related problems.