Pathfinding randomly returns NoPath when the agent is stuck to a wall

When moving the agent using Humanoid:MoveTo and gets stuck into a wall, using Pathfinding to try and unstuck it, sometimes fails to calculate a path despite being easily avoidable.

My Agent:

local PathFindingAgent = {
    AgentCanJump = false,
    AgentCanClimb = false,
    Costs = {
        Water = math.huge,
    },
    PathSettings = {
        SupportPartialPath = true,
    },
}

Expected behavior

It should be able to calculate the path and go around

image

A private message is associated with this bug report

Have also noticed this error occurring.

1 Like

Do you have this feature turned on?

It happens with both enabled and disabled. The recording was done with the feature off.

* Side note: We had to disable it because we suspect it was causing random server crashes (we’re still investigating and waiting to confirm, but all evidence points to that)