Dear A* users,
I was using grid Graphs and I had some problems with updating penalties for graph so I decided to switch something in A* config. Now I have this error:
NullReferenceException: Object reference not set to an instance of an object AstarPath.DoUpdateGraphs () (at Assets/AstarPathfindingProject/Core/AstarPath.cs:932) AstarPath.UpdateGraphs (Pathfinding.GraphUpdateObject ob) (at Assets/AstarPathfindingProject/Core/AstarPath.cs:869) GraphUpdateScene.Apply () (at Assets/AstarPathfindingProject/Core/GraphUpdateScene.cs:93) GraphUpdateScene.Apply (.AstarPath active) (at Assets/AstarPathfindingProject/Core/GraphUpdateScene.cs:59) AstarPath+<ScanLoop>c__Iterator8.MoveNext () (at Assets/AstarPathfindingProject/Core/AstarPath.cs:1574) AstarPath.Scan () (at Assets/AstarPathfindingProject/Core/AstarPath.cs:1511) InstantiateManagerScript.Update () (at Assets/Scripts/InstantiateManagerScript.cs:77)
I tried deleting and reimporting package, but didn’t help.
How can I fix it?
Thanks,
Adam.