- A* version: [5.3.7]
- Unity version: [6.0.41f1]
I’m trying to build a RTS game which has a standard isometric tiles and a rect map.
I have to set a larger size for the path finding grid for my map (see the picture above), when trying to scan the grid, the error code takes me here.
I could work around to finish my demo first, such as put some transparent tiles on my map, but I was wondering what is the best practice for my case.
Thanks.
I got the errors below:
the call stack:
stack1:
AssertionException: Assertion failure. Value was False
Expected: True
Pathfinding.AstarPathEditor.MenuScan () (at ./Packages/com.arongranberg.astar/Editor/AstarPathEditor.cs:1381)
Pathfinding.AstarPathEditor+<>c__DisplayClass73_0.b__0 () (at ./Packages/com.arongranberg.astar/Editor/AstarPathEditor.cs:826)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
stack2:
There was an error generating the graphs:
UnityEngine.Assertions.AssertionException: Assertion failure. Value was False
Expected: True
at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x0003c] in /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBase.cs:29
at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) [0x00009] in /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBool.cs:20
at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition) [0x00009] in /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBool.cs:13
at Pathfinding.Jobs.JobDependencyTracker.Dispose () [0x00001] in ./Packages/com.arongranberg.astar/Utilities/JobDependencyTracker.cs:447
at Pathfinding.Jobs.JobDependencyTracker.ClearMemory () [0x00010] in ./Packages/com.arongranberg.astar/Utilities/JobDependencyTracker.cs:459
at Pathfinding.GridGraph+GridGraphUpdatePromise+d__22.MoveNext () [0x0146d] in ./Packages/com.arongranberg.astar/Graphs/GridGraph.cs:1988
at AstarPath+d__131.MoveNext () [0x000ef] in ./Packages/com.arongranberg.astar/Core/AstarPath.cs:1965
at AstarPath+d__130.MoveNext () [0x004b7] in ./Packages/com.arongranberg.astar/Core/AstarPath.cs:1820
at AstarPath+d__128.MoveNext () [0x00060] in ./Packages/com.arongranberg.astar/Core/AstarPath.cs:1690
at Pathfinding.AstarPathEditor.MenuScan () [0x0008e] in ./Packages/com.arongranberg.astar/Editor/AstarPathEditor.cs:1366
If you think this is a bug, please contact me on forum.arongranberg.com (post a new thread)
UnityEngine.Debug:LogError (object)
Pathfinding.AstarPathEditor:MenuScan () (at ./Packages/com.arongranberg.astar/Editor/AstarPathEditor.cs:1379)
Pathfinding.AstarPathEditor/<>c__DisplayClass73_0:b__0 () (at ./Packages/com.arongranberg.astar/Editor/AstarPathEditor.cs:826)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)