Rebuilding Godot from source !
I just found out that overriding computecost for an AStar2D node is not implemented yet, but the implementation is present in the 3.2 branch of Godot, so I'm rebuilding the engine on another computer while working. Fun times :)
I really hope this doesn't mess up export templates