Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Baking not working

Discussion in 'Navigation' started by bscarl88, Jun 24, 2015.

  1. bscarl88

    bscarl88

    Joined:
    May 11, 2012
    Posts:
    39
    I'm following the survival shooter tutorial on enemy movement:
    https://www.youtube.com/watch?t=860&v=xUl-Agx2cLc

    I setup the NavAgent like it said, but when I click bake (they say it's supposed to take a bit) it finishes instantly and leaves no trace of any navigatable parts of the level. I finished up the scripting part and this error:

    "SetDestination" can only be called on an active agent that has been placed on a NavMesh.
    UnityEngine.NavMeshAgent:SetDestination(Vector3)
    EnemyMovement:Update() (at Assets/Scripts/Enemy/EnemyMovement.cs:25)

    any ideas?
     
  2. bscarl88

    bscarl88

    Joined:
    May 11, 2012
    Posts:
    39
    Nevermind... I had my Agent Radius set to 75 instead of 0.75 :mad:
     
unityunity