I have a prebaked navmesh surface and have placed navmeshagents on top of it. Also use NavMesh.SamplePosition to detect the nearest position on the surface and manually change the agent’s position to that. I disable their navmeshagent component during this time. But as soon as I enable the agent component, the agents are getting teleported to a position which is at the end of navmesh surface. Can any one suggest me what might be the issue.