Instantiating a prefab with navmeshagent

I’m trying to have my agents spawn at certain defined spawner points, but when the spawn unity says they’re not set in a navmesh.

I’ve tried warping them to the spawner’s position after spawning, but it just will not work.

You need set the NavMeshAgent position with NavMeshAgent.Warp(Vector3).