I had quite a lot of difficulty getting the point graph to work in 2D. It kept wanting to be on the XZ axis. I might just be doing something totally wrong, but determined to get it working, I spent a few hours getting to these lines in AIPath.cs:
var graph = AstarData.GetGraph(path.path) as ITransformedGraph; movementPlane = graph != null ? graph.transform : GraphTransform.identityTransform;
The Point Graph doesn’t work in 2D because it isn’t an ITransformedGraph. It causes graph to be null, which always causes movementPlane to be on the XZ axis. Aron, would it take much effort to make PointGraph an ITransformedGraph?
For those that need a temporary solution, replace the movementPlane line above with:
movementPlane = new GraphTransform(Matrix4x4.TRS(Vector3.zero, Quaternion.Euler(-90, 0, 0), Vector3.one));