Unable to remove link left by nodes

I’m currently trying to make the node graph rescan every time a node is set as walkable or non-walkable

To set it to walkable or non-walkable, I simply change the tag of the Tile

This is the game object responsible for handling Updating Graph,

In GUO, I call

AstarPath.active.UpdateGraphs(bounds);

with bounds being the bounds of the box collider 2D attach to the gameObject

It seems that the non-walkable tiles have their nodes removed, but the connections remain, and usable by the agent to reach the target despite being surrounded.

Thanks in advance for the help!

Hi

Does it work if you just scan the graph the normal way (press a button in the inspector)?