Linux build gives the following crash error. The build runs in a dedicated server in a linux environment in headless batch no graphics mode

Received the following error on a linux build, the same error comes even i select multithreading to none. The build runs in a dedicated server in a linux environment in headless batch no graphics mode

2025-06-12T13:17:38.877Z Mumbai[6a422a01] Caught fatal signal - signo:6 code:-6 errno:0 addr:0x1
2025-06-12T13:17:38.877Z Mumbai[6a422a01] terminate called after throwing an instance of 'Il2CppExceptionWrapper'
2025-06-12T13:17:38.886Z Mumbai[6a422a01] Obtained 37 stack frames.
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #0  0x007f298e7f05eb in PlayerMain(int, char**)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #1  0x007f298e7e32b5 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #2  0x007f298d74f520 in __sigaction
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #3  0x007f298d7a39fc in pthread_kill
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #4  0x007f298d74f476 in raise
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #5  0x007f298d7357f3 in abort
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #6  0x007f28ea7e26e9 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #7  0x007f28ea7e20c5 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #8  0x007f28ea7e20ed in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #9  0x007f28ea7e21d3 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #10 0x007f28ea70bdd7 in DllCanUnloadNow
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #11 0x007f28ea77754d in mono_class_get_checked
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #12 0x007f28eac86d86 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #13 0x007f28eac00f44 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #14 0x007f28eab89c16 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #15 0x007f28eab88ee0 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #16 0x007f28e9e138ed in _fini
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #17 0x007f298224250a in Unity.Entities.WorldUnmanagedImpl+UnmanagedUpdate_00001437$BurstDirectCall, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Invoke(System.Void*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 pSystemState) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_536e53c5aa3ad35f588219e2730285c4 from Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #18 0x007f29822d6eea in 7bf3b3dc1c88cb657fd69b548232391d
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #19 0x007f28ee956b5b in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #20 0x007f28ee8f6632 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #21 0x007f28ee8f649b in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #22 0x007f28eab7cae7 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #23 0x007f28eea4a6fc in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #24 0x007f28ee8f6678 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #25 0x007f28eea4a6fc in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #26 0x007f28ea6bd6d3 in _fini
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #27 0x007f28ea6bd63b in _fini
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #28 0x007f298e74fc4b in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #29 0x007f298e757db2 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #30 0x007f298e57ebb3 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #31 0x007f298e57eaf1 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #32 0x007f298e57ee17 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #33 0x007f298e7e3d5c in PlayerMain(int, char**)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #34 0x007f298d736d90 in __libc_init_first
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #35 0x007f298d736e40 in __libc_start_main
2025-06-12T13:17:38.886Z Mumbai[6a422a01] #36 0x0055d5f0b94029 in (Unknown)
2025-06-12T13:17:38.886Z Mumbai[6a422a01] Caught fatal signal - signo:11 code:128 errno:0 addr:(nil)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] Obtained 35 stack frames.
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #0  0x007f298e7f05eb in PlayerMain(int, char**)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #1  0x007f298e7e32b5 in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #2  0x007f298d74f520 in __sigaction
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #3  0x007f298d735898 in abort
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #4  0x007f28ea7e26e9 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #5  0x007f28ea7e20c5 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #6  0x007f28ea7e20ed in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #7  0x007f28ea7e21d3 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #8  0x007f28ea70bdd7 in DllCanUnloadNow
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #9  0x007f28ea77754d in mono_class_get_checked
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #10 0x007f28eac86d86 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #11 0x007f28eac00f44 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #12 0x007f28eab89c16 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #13 0x007f28eab88ee0 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #14 0x007f28e9e138ed in _fini
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #15 0x007f298224250a in Unity.Entities.WorldUnmanagedImpl+UnmanagedUpdate_00001437$BurstDirectCall, Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Invoke(System.Void*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 pSystemState) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_536e53c5aa3ad35f588219e2730285c4 from Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #16 0x007f29822d6eea in 7bf3b3dc1c88cb657fd69b548232391d
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #17 0x007f28ee956b5b in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #18 0x007f28ee8f6632 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #19 0x007f28ee8f649b in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #20 0x007f28eab7cae7 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #21 0x007f28eea4a6fc in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #22 0x007f28ee8f6678 in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #23 0x007f28eea4a6fc in std::_Rb_tree<void*, std::pair<void* const, long>, std::_Select1st<std::pair<void* const, long> >, std::less<void*>, std::allocator<std::pair<void* const, long> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<void* const, long> >, void* const&)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #24 0x007f28ea6bd6d3 in _fini
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #25 0x007f28ea6bd63b in _fini
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #26 0x007f298e74fc4b in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #27 0x007f298e757db2 in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #28 0x007f298e57ebb3 in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #29 0x007f298e57eaf1 in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #30 0x007f298e57ee17 in (Unknown)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #31 0x007f298e7e3d5c in PlayerMain(int, char**)
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #32 0x007f298d736d90 in __libc_init_first
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #33 0x007f298d736e40 in __libc_start_main
2025-06-12T13:17:38.892Z Mumbai[6a422a01] #34 0x0055d5f0b94029 in (Unknown)

Also I’m using astarPath.data.DeserializeGraphs(data); to load graph data. Its loads as well and i received logs for that as well. After this in a second/two, the build crashes, with the above logs. Im using Entities 1.3.14

image

And this is only after DeserializeGraphs? What version of Unity are you on?

Yes it was happening after the graph was loaded, didnt receive the message then.

After that i was finding the nearest node point for target destination, and at that point it gave the fatal error.

After this i used aipath.cs, and the error was gone. But i find follower entity to be better, but cannot use it in linux build unfortunately because of the fatal error.

Also im on Unity 2022.3.52f1

Hi

I would try to upgrade to a newer version of unity, as this could very well be a burst/unity bug.

Otherwise, I’d try to see if you get the same crash in a debug build.

Sure, thanks, just another update its Unity 2022.3.58f1. Please ignore the previous version.

Please let me know if its fixed, i might nwed some solution soon. Let me know.

I was waiting on an answer from you…

Ohh okay, sure, will try a debug build and revert soon.

A newer version of Unity and/or your entities package wouldn’t hurt either. This could very well be a unity bug.

Hi @aron_granberg

So there is a new update, it seems the previous error was not the issue related to this plugin probably.
But now that weve narrowed down, we’ve found the following issue that is coming up in headless liunx dedicated server build.

So im using the following method to find node

I got the following issues

2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Exception: Invalid pivot nodes (destroyed or unwalkable)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.Graphs.Util.EuclideanEmbedding.RecalculateCostsInner () [0x00040] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.Graphs.Util.EuclideanEmbedding.RecalculateCosts () [0x00017] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at AstarPath.<.ctor>b__87_4 () [0x0000d] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.PathProcessor.Unlock (System.Int32 id) [0x0002e] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.PathProcessor+GraphUpdateLock.Release () [0x00000] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.ECS.RepairPathSystem.SchedulePaths (Unity.Entities.SystemState& systemState) [0x000ea] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.ECS.RepairPathSystem.OnUpdate (Unity.Entities.SystemState& systemState) [0x0002f] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Pathfinding.ECS.RepairPathSystem.__codegen__OnUpdate (System.IntPtr self, System.IntPtr state) [0x00012] in <ee408c37935645d5bd6f70cfce74a992>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68]   at Unity.Entities.SystemBaseRegistry+<>c__DisplayClass9_0.<SelectBurstFn>b__0 (System.IntPtr system, System.IntPtr state) [0x00000] in <f23cdbfd587048c7b4cef07cb6d21e32>:0
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] UnityEngine.DebugLogHandler:LogException(Exception, Object)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] UnityEngine.Logger:LogException(Exception, Object)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] UnityEngine.Debug:LogException(Exception)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Debug:LogException(Exception)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.<>c__DisplayClass9_0:<SelectBurstFn>b__0(IntPtr, IntPtr)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.UnmanagedUpdate_00001439$BurstDirectCall:wrapper_native_indirect_0x563f05c37c10(IntPtr&, Void*)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.UnmanagedUpdate_00001439$BurstDirectCall:Invoke(Void*)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.WorldUnmanagedImpl:UnmanagedUpdate(Void*)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.WorldUnmanagedImpl:UpdateSystem(SystemHandle)
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.ComponentSystemGroup:OnUpdate()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Pathfinding.ECS.AIMovementSystemGroup:OnUpdate()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.SystemBase:Update()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.ComponentSystemGroup:OnUpdate()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.SystemBase:Update()
2025-08-08T07:48:17.323Z Mumbai[7fd3dc68] Unity.Entities.DummyDelegateWrapper:TriggerUpdate()

So the above issue comes after i allow the scan in runtime in linux

Previously i was using the cached graph data and loading it on start.
I was getting the following error.

2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] AstarPath is not active or no graphs available or no nearest node found.
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Goof.Utilities.RandomGenerator:GetNearestPointOnGraph(Vector3)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Animal:FixedUpdateNetwork()
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.SimulationBehaviourUpdater:InvokeFixedUpdateNetwork(SimulationStages, SimulationModes, Topologies)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.NetworkRunner:Fusion.Simulation.ICallbacks.OnTick()
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.Simulation:InvokeTick(SimulationStages, Boolean)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.Simulation:StepSimulation(SimulationStages, Boolean, Boolean, Boolean)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.Simulation:Update(Double)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.NetworkRunner:UpdateInternal(Double)
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] Fusion.NetworkRunnerUpdaterDefault:InvokeUpdate()
2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] 
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] Path Failed : Computation Time 0.00 ms Searched Nodes 0
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] Error: Couldn't find a node close to the start point
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] Path Number 6626 (unique id)
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] AstarPath:<.ctor>b__84_3(Path)
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] Pathfinding.PathProcessor:CalculatePathsThreaded(PathHandler, Receiver)
2025-08-07T03:15:58.664Z Mumbai[0ee9eacc] System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)

For both the scenarios, in editor it works fine.I tried setting the following as well
image
In above Heuristic was Euclidean, then i tried to none and also reset the thread count to none.
The error remained the same with scan on awake or using cached graph. For all cases i had checked on editor it worked fine in editor.

Please let me know the next steps, what should i try ?

Hey there, would you be able to try updating Entities? Have you had the chance to check what version you’re on for that package?

Im on 1.3.14 version which is i think is the latest package as of now.

image

If you set Heuristic to None, then the first error should not be possible.

I was getting the following error.

2025-08-07T03:15:58.660Z Mumbai[0ee9eacc] AstarPath is not active or no graphs available or no nearest node found.

This happens if you try to query the graph, or issue path requests, before the cached graph has been loaded. Or if you don’t load the cached graph at all.

Yes i have tried setting Heuristic to None.
Also after i did some changes, where the scan happened and then after that only the AstarPath.active.GetNearest method was called

This is where i was receiving this error may times
Two types of error are there :-

2025-08-09T09:56:17.382Z Mumbai[c43f6173] No nearest node found.

and

2025-08-09T09:36:16.228Z Mumbai[f8b937f8] Path Failed : Computation Time 0.00 ms Searched Nodes 0
2025-08-09T09:36:16.228Z Mumbai[f8b937f8] Error: Couldn’t find a node close to the start point

Even on loading the graph via cache, this error still came.


This is another image sample which shows both the errors received.

Also i added logs to confirm if the scan was truly happening, this is what i get. This confirms that the scan was done.

Additionally, the same setup works fine on editor everytime.

Hi

I note that you get the warning “Some mesh collider meshes could not be included…”.
This warning indicates that it would only have been able to read this mesh data in the unity editor, not in a standalone game. This could very well be the reason.
A list of these meshes will show up in the recast graph inspector as a big warning after you have scanned the graph.
Check it out.

Hi,

So i’ve removed that warning message by marking those mesh as readable, there were around 17 of them. Now that error message didnt come, and in the linuxbuild, the following message is shown.


That warning message is not there anymore.


The path is still failing most of the time and the node is returned null some times as well

Im sharing the settings screenshot of Astar script



Im doing the scan manually via another script as of now. Although ive tried both scan on awake and cache loading, the error remains the same.

I tried creating a build which loaded prescanned graph byte data and the following was achieved. I had added some manual logs.

image

After that, when the scan was completed, the following was received continously

One difference I noticed was that, “No Nearest node found” was no longer found in these set of logs, which was coming from the following code.

After that i tried the following settings
image
Im getting the same error as above.

In all cases, it worked fine on the editor. What could be the issue? What should i try next ?

@aron_granberg @tealtxgr Please suggest the next steps, or is it some other issue ?

I tagged Aron on this for a follow-up. Appreciate the patience :+1:

1 Like