If the agent can normally walk up those cubes, then it doesn’t really differentiate this situation from just flat ground. There’s no built-in way to filter out that diagonal connection.
I was wondering about using IConnectionFilter, but honestly it doesn’t matter whether the block is in the pathfinding step or the graph generation step. I’ll see what I can do with ITraversalProvider.