Engine Bug: Pathfinding service is arbitrarily inable to path some terrain

We fixed this ourselves but encountered this issue and have been dealing with it for a long time.

The issue with PathfindingService creating terrible paths on smooth terrain has to do with materials, I know that much. Any news on the investigation?

It’s not cost-related either

Here’s what it looks like to generate what (should) be a simple path on smooth terrain across a couple different materials

As you can see it’s terrible and even straight short distance paths will produce zigzags/nonsensical paths if there’s more than one material

Here’s what it should be(after we manually fixed it)

I was going to make my own bug report but figured I’d just bump this instead

Here’s my pathfinder plugin if you want to quickly test PathfindingService in studio

4 Likes