Players Crashing Pathfinding.PathProcessor:CalculatePathsThreaded

Hi there,

Today I released a patch implementing a dungeon using A* Recast Graphs in my game and 2 players experienced crashes with very similar stack traces in the output_log, pointing towards AstarPath.

========== OUTPUTTING STACK TRACE ==================

0x00007FFB3A505AF7 (UnityPlayer) UnityMain
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFB39454869)
0x00007FFB39454869 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFB3945478F)
0x00007FFB3945478F (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFB396C38BC)
0x00007FFB396C38BC (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFB396C8F0A)
0x00007FFB396C8F0A (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFB396C9381)
0x00007FFB396C9381 (UnityPlayer) (function-name not available)
0x00007FFB39F86BE5 (UnityPlayer) UnityMain
0x00007FFB39F86A67 (UnityPlayer) UnityMain
0x00007FFB39D0E305 (UnityPlayer) UnityMain
0x000001B6650D8DF6 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object)
0x000001B6650D8D53 (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001B6650D8B30 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001B608CC1F78 (Mono JIT Code) UnityEngine.Debug:LogWarning (object)
0x000001B6B66BEE1B (Mono JIT Code) AstarPath:LogPathResults (Pathfinding.Path)
0x000001B6B66BEB13 (Mono JIT Code) AstarPath:b__121_1 (Pathfinding.Path)
0x000001B60D298A89 (Mono JIT Code) Pathfinding.PathProcessor:CalculatePathsThreaded (Pathfinding.PathHandler)
0x000001B60D2986FB (Mono JIT Code) Pathfinding.PathProcessor/<>c__DisplayClass24_0:<.ctor>b__0 ()
0x000001B663879276 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object)
0x000001B663878ECE (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001B66387893B (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001B66387885B (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
0x000001B6638786A3 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart ()
0x000001B663878604 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFB4ADBBE7B (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFB4AD41E32 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFB4AD4B012 (mono-2.0-bdwgc) mono_runtime_invoke_array
0x00007FFB4AD6549F (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFB4AD651E6 (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFBA7777974 (KERNEL32) BaseThreadInitThunk
0x00007FFBA7B3A271 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

========== OUTPUTTING STACK TRACE ==================

0x00007FFC0C095AF7 (UnityPlayer) UnityMain
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFC0AFE4869)
0x00007FFC0AFE4869 (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFC0AFE478F)
0x00007FFC0AFE478F (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFC0B2538BC)
0x00007FFC0B2538BC (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFC0B258F0A)
0x00007FFC0B258F0A (UnityPlayer) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: ‘Attempt to access invalid address.’ (Address: 00007FFC0B259381)
0x00007FFC0B259381 (UnityPlayer) (function-name not available)
0x00007FFC0BB16BE5 (UnityPlayer) UnityMain
0x00007FFC0BB16A67 (UnityPlayer) UnityMain
0x00007FFC0B89E305 (UnityPlayer) UnityMain
0x0000017D4ABA8946 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object)
0x0000017D4ABA88A3 (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000017D4ABA8680 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000017D566F2558 (Mono JIT Code) UnityEngine.Debug:LogWarning (object)
0x0000017DC800D20B (Mono JIT Code) AstarPath:LogPathResults (Pathfinding.Path)
0x0000017DC800D0F3 (Mono JIT Code) AstarPath:b__121_1 (Pathfinding.Path)
0x0000017D5A29EED9 (Mono JIT Code) Pathfinding.PathProcessor:CalculatePathsThreaded (Pathfinding.PathHandler)
0x0000017D5A29E75B (Mono JIT Code) Pathfinding.PathProcessor/<>c__DisplayClass24_0:<.ctor>b__0 ()
0x0000017D49A19B86 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object)
0x0000017D49A1968E (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x0000017D49A18C8B (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x0000017D49A18B0B (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
0x0000017D49A18773 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart ()
0x0000017D49A18604 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFC2684BE7B (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFC267D1E32 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFC267DB012 (mono-2.0-bdwgc) mono_runtime_invoke_array
0x00007FFC267F549F (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFC267F51E6 (mono-2.0-bdwgc) mono_threads_set_shutting_down
0x00007FFC63787974 (KERNEL32) BaseThreadInitThunk
0x00007FFC6612A271 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Is there something I can do about that?

Thanks.

Hi

Sorry for the late answer. I am currently traveling and I lost my laptop on a flight, so I haven’t been able to work for a while.

Interesting. I have no idea what could cause this, but I have seen it before from one other user…
I don’t know how to fix the root issue, but I think you should be able to avoid it by setting A* Inspector -> Settings -> Path Log Mode to None.