Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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: