NavMeshAgent becomes stuck when near the edge of the navmesh

Hey everyone,

I have run into an odd issue where a NavMeshAgent will get stuck on the edge of a NavMesh…
It will move fine if the next destination is on the edge but when the destination gets set to someplace inside the NavMesh it will not leave the edge.

This is an example of the issue Screen capture - 3eb934d40779443ea54bc471e0d770f7 - Gyazo

Turns out my spawn volume, which was a box collider, was not set to a trigger… its bounds are just inside the park and so if they got near the edge then the collision kicked them out permanently!