AIPathAlignedToSurface crashes at UpdateMovementPlane

I have a spherical world I am creating procedurally, and then using that mesh for a NavMesh. I have a unit that has Seeker + AIPathAlignedToSurface. AIPathAlignedToSurface crashes at UpdateMovmentPlanes as soon as it is active (after I’ve AstarPath.active.Scan() to get a nice-looking graph).

Bets advice for diagnosing what I’m doing wrong?

Yes, well, when I add an RVO simulator to the scene and an RVO controller to the unit it of course works as designed.

Hi

What error message do you get?

This was newbie error; without a RVOController in the scene, line 85 rvoController.movementPlane = movementPlane
gave me a null exception because of course, rvoController was null.

Ah. That’s a bug though. It should still have worked without an exception. I’ll fix it!