Pre processing graphs Scanning graph 1 of 1 - InvalidOperationException: The previously scheduled job JobCopyRectangle`1 reads from the Unity.Collections.NativeArray`1[Unity.Mathematics.float4] JobCopyRectangle`1.input. You are trying to schedule a new job JobCopyRectangle`1, which writes to the same Unity.Collections.NativeArray`1[Unity.Mathematics.float4] (via JobCopyRectangle`1.output). To guarantee safety, you must include JobCopyRectangle`1 as a dependency of the newly scheduled job. at (wrapper managed-to-native) Unity.Jobs.LowLevel.Unsafe.JobsUtility.Schedule_Injected(Unity.Jobs.LowLevel.Unsafe.JobsUtility/JobScheduleParameters&,Unity.Jobs.JobHandle&) at Unity.Jobs.LowLevel.Unsafe.JobsUtility.Schedule (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters) [0x00000] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at Unity.Jobs.IJobExtensions.Schedule[T] (T jobData, Unity.Jobs.JobHandle dependsOn) [0x00016] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at Pathfinding.Jobs.IJobExtensions.Schedule[T] (T data, Pathfinding.Jobs.JobDependencyTracker tracker) [0x00020] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Utilities\JobDependencyTracker.cs:409 at Pathfinding.GridGraph+GridGraphScanData.AssignToNodes (Pathfinding.GridNodeBase[] nodes, Unity.Mathematics.int3 nodeArrayBounds, Pathfinding.IntBounds writeMask, System.UInt32 graphIndex, Unity.Jobs.JobHandle nodesDependsOn, Unity.Collections.NativeArray`1[T] nodeSurfaceNormals) [0x000f1] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:1871 at Pathfinding.GridGraph+d__109.MoveNext () [0x011f5] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:2144 at Pathfinding.Jobs.JobHandleWithMainThreadWork.Complete () [0x00029] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Utilities\JobDependencyTracker.cs:98 at Pathfinding.GridGraph+d__105.MoveNext () [0x0027d] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:1423 at Pathfinding.GridGraph+d__112.MoveNext () [0x000c6] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:2164 at AstarPath+d__144.MoveNext () [0x0015f] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:1881 at AstarPath+d__143.MoveNext () [0x00343] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:1810 at AstarPath.Scan (Pathfinding.NavGraph[] graphsToScan) [0x00070] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:1659 at AstarPath.Scan (Pathfinding.NavGraph graphToScan) [0x0000f] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:1627 at Pathfinding.NavGraph.Scan () [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\Base.cs:331 at ChunkController.OnChunksProcessed () [0x00020] in D:\Git\hexagone\Assets\_TinyRoar\Scripts\Session\Environment\Chunk\ChunkController.cs:83 at (wrapper delegate-invoke) .invoke_void() at WorkItemProcessor+d__14.MoveNext () [0x0009b] in D:\Git\hexagone\Assets\_TinyRoar\Scripts\Core\Util\WorkItemProcessor.cs:72 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <61c05f8d81804e929ff4198c5bcc7a62>:0 (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Utilities/JobDependencyTracker.cs Line: 409) AssertionException: Assertion failure. Value was True Expected: False at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x00043] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at UnityEngine.Assertions.Assert.IsFalse (System.Boolean condition, System.String message) [0x0000c] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at UnityEngine.Assertions.Assert.IsFalse (System.Boolean condition) [0x00006] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at Pathfinding.HierarchicalGraph.<.ctor>b__35_0 (Pathfinding.GraphNode neighbour) [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\HierarchicalGraph.cs:173 at Pathfinding.GridNode.GetConnections (System.Action`1[T] action) [0x00047] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\NodeClasses\GridNode.cs:184 at Pathfinding.HierarchicalGraph+JobRecalculateComponents.FindHierarchicalNodeChildren (Pathfinding.HierarchicalGraph hGraph, System.Int32 hierarchicalNode, Pathfinding.GraphNode startNode) [0x00080] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\HierarchicalGraph.cs:444 at Pathfinding.HierarchicalGraph+JobRecalculateComponents.Execute () [0x00141] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\HierarchicalGraph.cs:536 at Unity.Jobs.IJobExtensions+JobStruct`1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00001] in <61c05f8d81804e929ff4198c5bcc7a62>:0 at (wrapper delegate-invoke) Unity.Jobs.IJobExtensions+JobStruct`1+ExecuteJobFunction[Pathfinding.HierarchicalGraph+JobRecalculateComponents].invoke_void_T&_intptr_intptr_JobRanges&_int(Pathfinding.HierarchicalGraph/JobRecalculateComponents&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int) (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/HierarchicalGraph.cs Line: 173) IndexOutOfRangeException: Index was outside the bounds of the array. at Pathfinding.PathHandler.GetPathNode (Pathfinding.GraphNode node) [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathHandler.cs:222 at Pathfinding.ABPath.Prepare () [0x001a6] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Pathfinders\ABPath.cs:469 at Pathfinding.Path.Pathfinding.IPathInternals.Prepare () [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\Path.cs:968 at Pathfinding.PathProcessor.CalculatePathsThreaded (Pathfinding.PathHandler pathHandler) [0x000a1] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathProcessor.cs:486 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Pathfinding.PathProcessor:CalculatePathsThreaded(PathHandler) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathProcessor.cs:559) Pathfinding.<>c__DisplayClass28_0:b__0() (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathProcessor.cs:158) System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart() (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathProcessor.cs Line: 559) Unhandled exception during pathfinding. Terminating. 0x00007ff6e36c330d (Unity) StackWalker::GetCurrentCallstack 0x00007ff6e36c82b9 (Unity) StackWalker::ShowCallstack 0x00007ff6e46921d1 (Unity) GetStacktrace 0x00007ff6e4d52042 (Unity) DebugStringToFile 0x00007ff6e26d3cb6 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x000001eda0384b9a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x000001eda0384a0b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x000001eda0383e8e (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x000001edb03ba0ca (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x000001ea655e902b (Mono JIT Code) Pathfinding.PathProcessor:CalculatePathsThreaded (Pathfinding.PathHandler) (at ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathProcessor.cs:560) 0x000001ea655e7c8b (Mono JIT Code) Pathfinding.PathProcessor/<>c__DisplayClass28_0:b__0 () (at ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathProcessor.cs:158) 0x000001ec749b1c22 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object) 0x000001ec7498179e (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) 0x000001ec74980d1b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) 0x000001ec749b1303 (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) 0x000001ec749b0e6b (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart () 0x000001ec749b0318 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x00007fffb3ae0394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445) 0x00007fffb3a1eb44 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066) 0x00007fffb3a2257c (mono-2.0-bdwgc) mono_runtime_delegate_try_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:4458) 0x00007fffb3a4d6f1 (mono-2.0-bdwgc) start_wrapper_internal (at C:/build/output/Unity-Technologies/mono/mono/metadata/threads.c:1292) 0x00007fffb3a4d896 (mono-2.0-bdwgc) start_wrapper (at C:/build/output/Unity-Technologies/mono/mono/metadata/threads.c:1344) 0x00007ff80fb57344 (KERNEL32) BaseThreadInitThunk 0x00007ff8107626b1 (ntdll) RtlUserThreadStart IndexOutOfRangeException: Index was outside the bounds of the array. at Pathfinding.PathHandler.GetPathNode (Pathfinding.GraphNode node) [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathHandler.cs:222 at AstarPath+<>c__DisplayClass97_0.b__0 (Pathfinding.GraphNode node) [0x000b0] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:707 at Pathfinding.GridGraph.GetNodes (System.Action`1[T] action) [0x00014] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:182 at AstarPath.RecalculateDebugLimits () [0x00062] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:701 at AstarPath.DrawGizmos () [0x000a7] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:770 at Pathfinding.Drawing.DrawingManager.DrawGizmos (System.Boolean usingRenderPipeline) [0x00192] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:591 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) Pathfinding.Drawing.DrawingManager:DrawGizmos(Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:593) Pathfinding.Drawing.DrawingManager:Submit(Camera, CommandBuffer, Boolean, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:641) Pathfinding.Drawing.DrawingManager:SubmitFrame(Camera, CommandBuffer, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:463) Pathfinding.Drawing.DrawingManager:ExecuteCustomRenderPass(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:396) Pathfinding.Drawing.AlineURPRenderPass:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\AlineURPRenderPassFeature.cs:16) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteRenderPass(ScriptableRenderContext, ScriptableRenderPass, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1484) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteBlock(Int32, RenderBlocks&, ScriptableRenderContext, RenderingData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1440) UnityEngine.Rendering.Universal.ScriptableRenderer:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1223) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, CameraData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:642) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:527) UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:369) UnityEngine.Rendering.RenderPipeline:InternalRender(ScriptableRenderContext, List`1) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object, AtomicSafetyHandle) UnityEditor.Handles:Internal_DrawCameraWithGrid(Camera, DrawCameraMode, DrawGridParameters&, Boolean, Boolean) UnityEditor.Handles:DrawCameraImpl(Rect, Camera, DrawCameraMode, Boolean, DrawGridParameters, Boolean, Boolean, Boolean, GameObject[]) UnityEditor.Handles:DrawCameraStep1(Rect, Camera, DrawCameraMode, DrawGridParameters, Boolean, Boolean) UnityEditor.SceneView:DoDrawCamera(Rect, Rect, Boolean&) UnityEditor.SceneView:DoOnGUI() UnityEditor.SceneView:OnSceneGUI() UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Single, Exception&) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Material, Material, Texture, Texture, Single, NativeSlice`1, NativeSlice`1, MaterialPropertyBlock, Boolean, Exception&) UnityEngine.UIElements.UIR.RenderChain:Render() UnityEngine.UIElements.UIRRepaintUpdater:Update() UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) UnityEngine.UIElements.Panel:UpdateForRepaint() UnityEngine.UIElements.Panel:Repaint(Event) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&) UnityEngine.UIElements.UIEventRegistration:ProcessEvent(Int32, IntPtr) UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathHandler.cs Line: 222) Error : This part should never be reached. 0x00007ff6e36c330d (Unity) StackWalker::GetCurrentCallstack 0x00007ff6e36c82b9 (Unity) StackWalker::ShowCallstack 0x00007ff6e46921d1 (Unity) GetStacktrace 0x00007ff6e4d52042 (Unity) DebugStringToFile 0x00007ff6e26d3cb6 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x000001eda0384b9a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x000001eda0384a0b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x000001eda0383e8e (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x000001edb03ba0ca (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x000001ea655e91e3 (Mono JIT Code) Pathfinding.PathProcessor:CalculatePathsThreaded (Pathfinding.PathHandler) (at ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathProcessor.cs:570) 0x000001ea655e7c8b (Mono JIT Code) Pathfinding.PathProcessor/<>c__DisplayClass28_0:b__0 () (at ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathProcessor.cs:158) 0x000001ec749b1c22 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object) 0x000001ec7498179e (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) 0x000001ec74980d1b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) 0x000001ec749b1303 (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) 0x000001ec749b0e6b (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart () 0x000001ec749b0318 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x00007fffb3ae0394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445) 0x00007fffb3a1eb44 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066) 0x00007fffb3a2257c (mono-2.0-bdwgc) mono_runtime_delegate_try_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:4458) 0x00007fffb3a4d6f1 (mono-2.0-bdwgc) start_wrapper_internal (at C:/build/output/Unity-Technologies/mono/mono/metadata/threads.c:1292) 0x00007fffb3a4d896 (mono-2.0-bdwgc) start_wrapper (at C:/build/output/Unity-Technologies/mono/mono/metadata/threads.c:1344) 0x00007ff80fb57344 (KERNEL32) BaseThreadInitThunk 0x00007ff8107626b1 (ntdll) RtlUserThreadStart Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations. IndexOutOfRangeException: Index was outside the bounds of the array. at Pathfinding.PathHandler.GetPathNode (Pathfinding.GraphNode node) [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathHandler.cs:222 at AstarPath+<>c__DisplayClass97_0.b__0 (Pathfinding.GraphNode node) [0x000b0] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:707 at Pathfinding.GridGraph.GetNodes (System.Action`1[T] action) [0x00014] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:182 at AstarPath.RecalculateDebugLimits () [0x00062] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:701 at AstarPath.DrawGizmos () [0x000a7] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:770 at Pathfinding.Drawing.DrawingManager.DrawGizmos (System.Boolean usingRenderPipeline) [0x00192] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:591 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) Pathfinding.Drawing.DrawingManager:DrawGizmos(Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:593) Pathfinding.Drawing.DrawingManager:Submit(Camera, CommandBuffer, Boolean, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:641) Pathfinding.Drawing.DrawingManager:SubmitFrame(Camera, CommandBuffer, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:463) Pathfinding.Drawing.DrawingManager:ExecuteCustomRenderPass(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:396) Pathfinding.Drawing.AlineURPRenderPass:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\AlineURPRenderPassFeature.cs:16) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteRenderPass(ScriptableRenderContext, ScriptableRenderPass, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1484) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteBlock(Int32, RenderBlocks&, ScriptableRenderContext, RenderingData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1440) UnityEngine.Rendering.Universal.ScriptableRenderer:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1223) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, CameraData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:642) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:527) UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:369) UnityEngine.Rendering.RenderPipeline:InternalRender(ScriptableRenderContext, List`1) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object, AtomicSafetyHandle) UnityEditor.Handles:Internal_DrawCameraWithGrid(Camera, DrawCameraMode, DrawGridParameters&, Boolean, Boolean) UnityEditor.Handles:DrawCameraImpl(Rect, Camera, DrawCameraMode, Boolean, DrawGridParameters, Boolean, Boolean, Boolean, GameObject[]) UnityEditor.Handles:DrawCameraStep1(Rect, Camera, DrawCameraMode, DrawGridParameters, Boolean, Boolean) UnityEditor.SceneView:DoDrawCamera(Rect, Rect, Boolean&) UnityEditor.SceneView:DoOnGUI() UnityEditor.SceneView:OnSceneGUI() UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Single, Exception&) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Material, Material, Texture, Texture, Single, NativeSlice`1, NativeSlice`1, MaterialPropertyBlock, Boolean, Exception&) UnityEngine.UIElements.UIR.RenderChain:Render() UnityEngine.UIElements.UIRRepaintUpdater:Update() UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) UnityEngine.UIElements.Panel:UpdateForRepaint() UnityEngine.UIElements.Panel:Repaint(Event) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&) UnityEngine.UIElements.UIEventRegistration:ProcessEvent(Int32, IntPtr) UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathHandler.cs Line: 222) IndexOutOfRangeException: Index was outside the bounds of the array. at Pathfinding.PathHandler.GetPathNode (Pathfinding.GraphNode node) [0x00001] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\PathHandler.cs:222 at AstarPath+<>c__DisplayClass97_0.b__0 (Pathfinding.GraphNode node) [0x000b0] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:707 at Pathfinding.GridGraph.GetNodes (System.Action`1[T] action) [0x00014] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Generators\GridGenerator.cs:182 at AstarPath.RecalculateDebugLimits () [0x00062] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:701 at AstarPath.DrawGizmos () [0x000a7] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\AstarPath.cs:770 at Pathfinding.Drawing.DrawingManager.DrawGizmos (System.Boolean usingRenderPipeline) [0x00192] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:591 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception, Object) Pathfinding.Drawing.DrawingManager:DrawGizmos(Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:593) Pathfinding.Drawing.DrawingManager:Submit(Camera, CommandBuffer, Boolean, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:641) Pathfinding.Drawing.DrawingManager:SubmitFrame(Camera, CommandBuffer, Boolean) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:463) Pathfinding.Drawing.DrawingManager:ExecuteCustomRenderPass(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\DrawingManager.cs:396) Pathfinding.Drawing.AlineURPRenderPass:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.arongranberg.astar@4.3.64\Drawing\AlineURPRenderPassFeature.cs:16) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteRenderPass(ScriptableRenderContext, ScriptableRenderPass, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1484) UnityEngine.Rendering.Universal.ScriptableRenderer:ExecuteBlock(Int32, RenderBlocks&, ScriptableRenderContext, RenderingData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1440) UnityEngine.Rendering.Universal.ScriptableRenderer:Execute(ScriptableRenderContext, RenderingData&) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\ScriptableRenderer.cs:1223) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera(ScriptableRenderContext, CameraData&, Boolean) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:642) UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCameraInternal(ScriptableRenderContext, Camera) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:527) UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render(ScriptableRenderContext, List`1) (at .\Library\PackageCache\com.unity.render-pipelines.universal@14.0.6\Runtime\UniversalRenderPipeline.cs:369) UnityEngine.Rendering.RenderPipeline:InternalRender(ScriptableRenderContext, List`1) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, Object, AtomicSafetyHandle) UnityEditor.Handles:Internal_DrawCameraWithGrid(Camera, DrawCameraMode, DrawGridParameters&, Boolean, Boolean) UnityEditor.Handles:DrawCameraImpl(Rect, Camera, DrawCameraMode, Boolean, DrawGridParameters, Boolean, Boolean, Boolean, GameObject[]) UnityEditor.Handles:DrawCameraStep1(Rect, Camera, DrawCameraMode, DrawGridParameters, Boolean, Boolean) UnityEditor.SceneView:DoDrawCamera(Rect, Rect, Boolean&) UnityEditor.SceneView:DoOnGUI() UnityEditor.SceneView:OnSceneGUI() UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect, Action, Boolean) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint() UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh(DrawParams, Single, Exception&) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain(RenderChainCommand, Material, Material, Texture, Texture, Single, NativeSlice`1, NativeSlice`1, MaterialPropertyBlock, Boolean, Exception&) UnityEngine.UIElements.UIR.RenderChain:Render() UnityEngine.UIElements.UIRRepaintUpdater:Update() UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase(VisualTreeUpdatePhase) UnityEngine.UIElements.Panel:UpdateForRepaint() UnityEngine.UIElements.Panel:Repaint(Event) UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&) UnityEngine.UIElements.UIEventRegistration:ProcessEvent(Int32, IntPtr) UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/PathHandler.cs Line: 222) InvalidOperationException: This path has not been started yet at Pathfinding.Path+d__54.MoveNext () [0x00032] in .\Library\PackageCache\com.arongranberg.astar@4.3.64\Core\Pathfinding\Path.cs:400 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <61c05f8d81804e929ff4198c5bcc7a62>:0 UnityEngine.MonoBehaviour:StartCoroutineManaged2(MonoBehaviour, IEnumerator) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) d__52:MoveNext() (at Assets\_TinyRoar\Scripts\Session\Adventurer\AdventurerController.cs:222) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) UnityEngine.MonoBehaviour:StartCoroutineManaged2(MonoBehaviour, IEnumerator) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) AdventurerController:TryRequestMove(Tile, Boolean) (at Assets\_TinyRoar\Scripts\Session\Adventurer\AdventurerController.cs:207) AdventurerController:OnCursorClick() (at Assets\_TinyRoar\Scripts\Session\Adventurer\AdventurerController.cs:379) InputBehaviour:OnUp() (at Assets\_TinyRoar\Scripts\Services\MonoServices\InputService.cs:309) <>c__DisplayClass38_0:b__1(CallbackContext) (at Assets\_TinyRoar\Scripts\Services\MonoServices\InputService.cs:74) UnityEngine.InputSystem.Utilities.DelegateHelpers:InvokeCallbacksSafe(CallbackArray`1&, CallbackContext, String, Object) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Utilities\DelegateHelpers.cs:46) UnityEngine.InputSystem.InputActionState:CallActionListeners(Int32, InputActionMap, InputActionPhase, CallbackArray`1&, String) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:2500) UnityEngine.InputSystem.InputActionState:ChangePhaseOfActionInternal(Int32, TriggerState*, InputActionPhase, TriggerState&) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:2454) UnityEngine.InputSystem.InputActionState:ChangePhaseOfAction(InputActionPhase, TriggerState&, InputActionPhase) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:2357) UnityEngine.InputSystem.InputActionState:ProcessDefaultInteraction(TriggerState&, Int32) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:1983) UnityEngine.InputSystem.InputActionState:ProcessControlStateChange(Int32, Int32, Int32, Double, InputEventPtr) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:1517) UnityEngine.InputSystem.InputActionState:UnityEngine.InputSystem.LowLevel.IInputStateChangeMonitor.NotifyControlStateChanged(InputControl, Double, InputEventPtr, Int64) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Actions\InputActionState.cs:1326) UnityEngine.InputSystem.InputManager:FireStateChangeNotifications(Int32, Double, InputEvent*) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\InputManagerStateMonitors.cs:380) UnityEngine.InputSystem.InputManager:UpdateState(InputDevice, InputUpdateType, Void*, UInt32, UInt32, Double, InputEventPtr) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\InputManager.cs:3475) UnityEngine.InputSystem.LowLevel.InputState:Change(InputControl, MouseState&, InputUpdateType, InputEventPtr) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\State\InputState.cs:125) UnityEngine.InputSystem.FastMouse:OnStateEvent(InputEventPtr) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Devices\Precompiled\FastMouse.partial.cs:39) UnityEngine.InputSystem.FastMouse:UnityEngine.InputSystem.LowLevel.IInputStateCallbackReceiver.OnStateEvent(InputEventPtr) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\Devices\Precompiled\FastMouse.partial.cs:49) UnityEngine.InputSystem.InputManager:OnUpdate(InputUpdateType, InputEventBuffer&) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\InputManager.cs:3192) UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:b__0(NativeInputUpdateType, NativeInputEventBuffer*) (at .\Library\PackageCache\com.unity.inputsystem@1.5.0\InputSystem\NativeInputRuntime.cs:65) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr) (Filename: ./Library/PackageCache/com.arongranberg.astar@4.3.64/Core/Pathfinding/Path.cs Line: 400)