Agent not going up slopes

I’m using a grid graph and an agent with the AIPath, Seeker, and AIDestinationSetter scripts attached. The scan looks like it recognized the slope properly, and the path looks like it’s going up the slope, but the agent just doesn’t go up. Please see the gif below.

https://imgur.com/a/6RoZKer

What could be wrong?

Hi

Your video seems to cut off before the agent makes it to the slope.

What might be interesting to you is a beta feature called “account for slopes”. It’s in the grid graph inspector in the beta.
https://www.arongranberg.com/astar/documentation/dev_4_3_47_2aee80fa/gridgraph.html#maxStepUsesSlope

It will allow the agent to approach the slope from a better angle. Right now it might get stuck when trying to climb that small ledge.

Apologies, I just updated the imgur link

I’ve tried the same with a recast graph, everything looks fine but he doesn’t go up the slope at all.

Hi

It looks like the path is close enough to the edge of the ramp that the agent gets a bit confused and starts following it incorrectly. I would suggest that you set the erosion iterations setting on the grid graph to 1 or 2. That will help a lot.