After the upgrade to latest beta, v4.43.80
, Point Graph scan stopped working. Using 2022.3.10f1
Using fresh, empty scene. There’s a pathfinding component with Point Graph on it, and one Transform with a couple of empty GameObjects under. Hitting scan always ends up with this error:
There was an error generating the graphs:
System.NullReferenceException: Object reference not set to an instance of an object
at Pathfinding.PointGraph.AddChildren (System.Int32& c, UnityEngine.Transform tr) [0x00018] in .\Library\PackageCache\com.arongranberg.astar@4.3.80\Graphs\PointGraph.cs:321
at Pathfinding.PointGraph+<ScanInternal>d__38.MoveNext () [0x00332] in .\Library\PackageCache\com.arongranberg.astar@4.3.80\Graphs\PointGraph.cs:450
at AstarPath+<ScanGraph>d__125.MoveNext () [0x00160] in .\Library\PackageCache\com.arongranberg.astar@4.3.80\Core\AstarPath.cs:1832
at AstarPath+<ScanInternal>d__124.MoveNext () [0x003b9] in .\Library\PackageCache\com.arongranberg.astar@4.3.80\Core\AstarPath.cs:1724
at Pathfinding.AstarPathEditor.MenuScan () [0x000e9] in .\Library\PackageCache\com.arongranberg.astar@4.3.80\Editor\AstarPathEditor.cs:1297