I'find a crash bug in DynamicGridObstacle line 64 in version 3.8.6

if add a DynamicGridObstacle in Collider without set up a AstarPath, System will in loop line 64 - 66 and never exit.

I thought change code like this will fix this:

form :

while (AstarPath.active == null || AstarPath.active.isScanning) {
	lastCheckTime = Time.realtimeSinceStartup;
}

to :

if (AstarPath.active == null || AstarPath.active.isScanning) {
	lastCheckTime = Time.realtime    eStartup;
        return;
}
1 Like

Thanks!
Yup. That was indeed a bug. I have fixed this in my local dev version now.