Having trouble with this error. I am following a tutorial and disabled the navmesh agent after a certain trigger. It worked in the tutorial, but not for me. I already have applied the navmesh and baked it into the scene, so I'm not sure why I'm still getting this. The code is below. If it's not something with the code I suspect it has something to do with the prefab.
Thanks!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class...
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
Thanks!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class...
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.