Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    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: