Pathfinding: Path request failed due to a navmesh update error

I’m currently working with pathfinding and sometimes when it tries to get a path roblox studio freezes and only way to stop freezing is pressing stop. After pressing stop this error shows up. It doesn’t happen everytime it calculates the path, only a few times. I don’t know what could be the issue
image
Edit: it also shows sometimes when im in testing right before I press stop

Roblox pathfinding is notoriously bad. Have you tried adding a task.wait() to prevent the script from timing out (for the freezing), and have you tried using PathfindingModifiers?

1 Like

Yeah, i tried making queue pathfinding systems, modifiers, etc. Nothing worked. I had to make my own pathfinding system (the pathfinding system was for vehicles to find the path in a city, i made my own pathfinding system to find the path the vehicles would take)