Right clicking own unitspawner is not a valid SamplePosition for the NavMesh

Whenever I right click on my own unit spawner or my own units it doesn’t make it passed this check in UnitMovement.cs

    if (!NavMesh.SamplePosition(position, out NavMeshHit hit, 1f, NavMesh.AllAreas)) {

It seems that my colliders are blocking the Ray down to the NavMesh

Privacy & Terms