RVOController Crash

The application crashes with the exception below. Unfortunately I can’t reproduce this all the time, so I don’t have reproduction steps.
The game has a few players with RVOController attached and there are 3 distinct Recast Graphs per Scene.

A* Pathfinding Project version: 5.0.3
Unity version: 2022.3.21f1
Device: Samsung Galaxy S21.

2024/03/14 22:52:38.790 26433 26506 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024/03/14 22:52:38.790 26433 26506 Error CRASH Version '2022.3.21f1 (bf09ca542b87)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2024/03/14 22:52:38.790 26433 26506 Error CRASH Build fingerprint: 'samsung/p3sxeea/p3s:14/UP1A.231005.007/G998BXXS9FXAH:user/release-keys'
2024/03/14 22:52:38.790 26433 26506 Error CRASH Revision: '22'
2024/03/14 22:52:38.790 26433 26506 Error CRASH ABI: 'arm64'
2024/03/14 22:52:38.790 26433 26506 Error CRASH Timestamp: 2024-03-14 22:52:38.790513552+0200
2024/03/14 22:52:38.790 26433 26506 Error CRASH pid: 26433, tid: 26506, name: UnityMain  >>> com.game <<<
2024/03/14 22:52:38.790 26433 26506 Error CRASH uid: 10476
2024/03/14 22:52:38.790 26433 26506 Error CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x0  00000000001ec000  x1  00000077741ac880  x2  0000007723d46840  x3  00000077741ac898
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x4  00000077741ac8a8  x5  00000077741ac8b8  x6  0000007722bf3f80  x7  00000077741acad0
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x8  00000076a37915c0  x9  0000007723d46940  x10 0000000000000000  x11 0000007723d46e40
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x12 0000000000000004  x13 0000000000000000  x14 0000007723d46dc0  x15 000000003c23d70a
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x16 0000007670773660  x17 00000076707254ec  x18 0000000000000000  x19 0000007723d46840
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x20 0000007722bf75c0  x21 0000000000000018  x22 0000007723d4693e  x23 0000007723d46e40
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x24 0000000000000000  x25 0000007723d46dc0  x26 00000000003c0000  x27 0000000000000001
2024/03/14 22:52:38.790 26433 26506 Error CRASH     x28 0000000000000000  x29 00000077741ac6f0
2024/03/14 22:52:38.790 26433 26506 Error CRASH     lr  0000007670726bbc  sp  00000077741ac610  pc  000000767072573c  pst 0000000080001000
2024/03/14 22:52:38.790 26433 26506 Error CRASH backtrace:
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #00 pc 000000000007273c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/lib_burst_generated.so (Pathfinding.NavmeshEdges+NavmeshEdgeData, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.GetHierarchicalNodesInRangeRec(System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 node, UnityEngine.Bounds, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null bounds, Pathfinding.Util.SlabAllocator`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null connectionAllocator, Unity.Collections.NativeList`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null connectionAllocations, Unity.Collections.NativeList`1[[UnityEngine.Bounds, UnityEngine.C...
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #01 pc 0000000000073bb8  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/lib_burst_generated.so (Pathfinding.RVO.JobRVO`1[[Pathfinding.RVO.XZMovementPlane, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.GenerateObstacleVOs(Pathfinding.RVO.JobRVO`1[[Pathfinding.RVO.XZMovementPlane, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]*, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null this, System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 agentIndex, Unity.Collections.NativeList`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null adjacentObstacleIdsScratch, Unity.Collections.NativeArray`1[[Unity.Mathematics.int2, Unity.Mathemati...
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #02 pc 0000000000072b20  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/lib_burst_generated.so (Pathfinding.RVO.JobRVO`1[[Pathfinding.RVO.XZMovementPlane, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]], AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ExecuteORCA(Pathfinding.RVO.JobRVO`1[[Pathfinding.RVO.XZMovementPlane, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]*, AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null this, System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 startIndex, System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 batchSize) -> System.Void, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089_4b5589cf3b9aff1fe4a745607ca9932f from AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=n...
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #03 pc 00000000000724b8  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/lib_burst_generated.so (Pathfinding.Jobs.JobParallelForBatchedExtensions.ParallelForBatchJobStruct`1<Pathfinding.RVO.JobRVO`1<Pathfinding.RVO.XZMovementPlane>>.Execute(ref Pathfinding.RVO.JobRVO`1<Pathfinding.RVO.XZMovementPlane> jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) -> void_4b5589cf3b9aff1fe4a745607ca9932f from AstarPathfindingProject, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null+100) (BuildId: e93bd7a1f1c176b2)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #04 pc 0000000000071c98  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/lib_burst_generated.so (82cbe6c0c10a60340fd2850c60245b29+8) (BuildId: e93bd7a1f1c176b2)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #05 pc 0000000000644214  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #06 pc 0000000000644628  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #07 pc 00000000006447ac  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #08 pc 00000000006412ac  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #09 pc 0000000000641768  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #10 pc 0000000000640d68  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (ujob_wait_for(ujob_control_t*, ujob_handle_t, int)+296) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #11 pc 000000000063b40c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (CompleteFenceInternal(JobFence&, WorkStealMode)+28) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #12 pc 000000000046396c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (JobHandle_CUSTOM_ScheduleBatchedJobsAndComplete(JobFence&)+64) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #13 pc 00000000017e5ed8  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libil2cpp.so (BuildId: a89bdd1fd30510ccee1f4e4c017657522be54cfe)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #14 pc 000000000161dc54  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libil2cpp.so (BuildId: a89bdd1fd30510ccee1f4e4c017657522be54cfe)
2024/03/14 22:52:38.790 26433 26506 Error CRASH       #15 pc 000000000161dba0  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libil2cpp.so (BuildId: a89bdd1fd30510ccee1f4e4c017657522be54cfe)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #16 pc 00000000007c8d5c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+176) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #17 pc 00000000007dbb88  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #18 pc 00000000007eb538  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (MonoBehaviour::CallUpdateMethod(int)+248) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #19 pc 000000000058c228  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (void BaseBehaviourManager::CommonUpdate<BehaviourManager>()+92) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #20 pc 000000000058c1b8  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BehaviourManager::Update()+32) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #21 pc 000000000065ea6c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #22 pc 000000000065254c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+132) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #23 pc 000000000065258c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+196) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #24 pc 000000000065288c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (PlayerLoop()+324) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #25 pc 000000000088fb54  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (UnityPlayerLoop()+812) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #26 pc 00000000008adf8c  /data/app/~~QoDelSo09IgoKiwAniLDJA==/com.game-gRjrYh-8VTr1NUZ5zeujKw==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+84) (BuildId: eaef8767781ed4a7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #27 pc 0000000000355830  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #28 pc 000000000033eda4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #29 pc 0000000000511050  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #30 pc 0000000000497814  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2040) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #31 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.791 26433 26506 Error CRASH       #32 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.792 26433 26506 Error CRASH       #33 pc 0000000000373a18  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.792 26433 26506 Error CRASH       #34 pc 0000000000355968  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7)
2024/03/14 22:52:38.792 26433 26506 Error CRASH       #35 pc 00000000020020b0  /memfd:jit-cache (deleted)
2024/03/14 22:52:39.136 26433 26506 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.game/files/tombstone_00
2024/03/14 22:52:39.136 26433 26506 Error CRASH Forwarding signal 11
0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of crash
2024/03/14 22:52:39.136 26433 26506 Fatal libc Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x76a37915c0 in tid 26506 (UnityMain), pid 26433 (ftware.MilkyCat)

Hi

Thanks!
I believe this is caused by a race condition which I have a fix for already. The fix will be included in the next update.