hi. I'm trying to make a monster chase the player, does anyone knows a good script a can use? I will need your permission to use it because I can't "steal" others code. I'm sorry if I wasn't meant to post this here, its my first jam. also navmesh agents do not work two errors (
Failed to create agent because there is no valid NavMesh
UnityEngine.StackTraceUtility:ExtractStackTrace () and
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:SetDestination (UnityEngine.Vector3)) keep poping up . sorry fo the inconvenience.