Could not terminate pathfinding thread[0] in 50ms, trying Thread.Abort

Getting the above error message when exiting a scene. Any advice on what could be causing this, or how to correct it?


It is usually not a problem.
It logs that when it waited too long for the pathfinding thread to be closed, but when you are exiting the game that’s no problem.

Sorry to dig out an old thread, figured better than making a duplicate…

I am getting the same:
Could not terminate pathfinding thread[10] in 200ms, trying Thread.Abort
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Pathfinding.PathProcessor:JoinThreads () (at Packages/com.arongranberg.astar@4.3.51/Core/Misc/PathProcessor.cs:260)
AstarPath:ShutdownPathfindingThreads () (at Packages/com.arongranberg.astar@4.3.51/Core/AstarPath.cs:1405)
AstarPath:OnDisable () (at Packages/com.arongranberg.astar@4.3.51/Core/AstarPath.cs:1427)

Unfortunately, this is happening between each level, and happens between 1 to 8 times (one per thread, makes sense) each level load. This appears to seemingly eventually lead to Unity editor stalling during level load, forcing me to quit and restart.

Any further thoughts on this?