Hi there,
We are currently experiencing this error in our project. We are using Unity 2022.3.20f1 and A* Pathfinding Project 4.2.18.
When this error occurs, all objects with pathfinding stop moving.
We believe this error began to appear after upgrading the editor version from 2021.3.4f1.
This log was taken from the Android Logcat when testing out the android build. Any help identifying the problem or how to resolve this would be greatly appreciated.
Regards,
Rich.
2024-04-24 14:03:20.185 19412 28300 Error Unity NullReferenceException: Object reference not set to an instance of an object.
2024-04-24 14:03:20.185 19412 28300 Error Unity at Pathfinding.ThreadControlQueue.Pop () [0x00000] in <00000000000000000000000000000000>:0
2024-04-24 14:03:20.185 19412 28300 Error Unity at Pathfinding.PathProcessor.CalculatePathsThreaded (Pathfinding.PathHandler pathHandler) [0x00000] in <00000000000000000000000000000000>:0
2024-04-24 14:03:20.185 19412 28300 Error Unity at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
2024-04-24 14:03:20.185 19412 28300 Error Unity Pathfinding.PathProcessor:CalculatePathsThreaded(PathHandler)
2024-04-24 14:03:20.185 19412 28300 Error Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
[10:15 PM]
2024-04-24 14:03:20.186 19412 28300 Error Unity Unhandled exception during pathfinding. Terminating.
2024-04-24 14:03:20.186 19412 28300 Error Unity Pathfinding.PathProcessor:CalculatePathsThreaded(PathHandler)
2024-04-24 14:03:20.186 19412 28300 Error Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
[10:15 PM]
2024-04-24 14:03:20.189 19412 28300 Error Unity Error : This part should never be reached.
2024-04-24 14:03:20.189 19412 28300 Error Unity Pathfinding.PathProcessor:CalculatePathsThreaded(PathHandler)
2024-04-24 14:03:20.189 19412 28300 Error Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)