My game is forced to paused after 65k cleanup is executed. I got the following errors :
65K cleanup
System.NullReferenceException: Object reference not set to an instance of an object
at Pathfinding.NodeRunData.ClearPathIDs () [0x00017] in G:\unity3d\tileMap\Assets\AstarPathfindingProject\Core\MultithreadClasses.cs:58
at Pathfinding.Path.PrepareBase (Pathfinding.NodeRunData runData) [0x00011] in G:\unity3d\tileMap\Assets\AstarPathfindingProject\Core\Path.cs:596
at AstarPath.CalculatePathsThreaded (System.Object _threadInfo) [0x00116] in G:\unity3d\tileMap\Assets\AstarPathfindingProject\Core\AstarPath.cs:2075
Error : This part should never be reached
Even if the game continues, gameobject’s paths and targets are messed up. I don’t want this happen in my game.
I m doing a simulation game which passengers gets on and off trains. My game relies heavily on this pathfinding algorithm.
Any ideas to solve this problem?
Thanks in advance.