GraphNode.ClearConnections() Bug?

GraphNode.ClearConnections(true) only clears 4 connections when using 8 connections? is this indented? Is there an easy work around to clear all 8 connections to that node?

Hi

Thanks for spotting the bug.
To fix it, change this line in GridNode.cs -> ClearConnections:
other.SetConnectionInternal(i < 4 ? ((i + 2) % 4) : (((5-2) % 4) + 4),false);
to
other.SetConnectionInternal(i < 4 ? ((i + 2) % 4) : (((i-4+2) % 4) + 4),false);
I haven’t actually tested since I haven’t got Unity on this computer, but I think it should work.