I/Unity (22002): IndexOutOfRangeException: Array index is out of range.
I/Unity (22002): at Pathfinding.Nodes.GridNode.FloodFill (System.Collections
.Generic.Stack`1 stack, Int32 area) [0x00008] in C:\Users\GRINAY\Documents\Other
\Assets\AstarPathfindingProject\Generators\odeClasses\GridNode.cs:238
I/Unity (22002): at AstarPath.FloodFill () [0x0018c] in C:\Users\GRINAY\Docu
ments\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1397
I/Unity (22002): at AstarPath+c__Iterator8.MoveNext () [0x0054f] i
n C:\Users\GRINAY\Documents\Other\Assets\AstarPathfindingProject\Core\AstarPath.
cs:1558
I/Unity (22002): at AstarPath.Scan () [0x00011] in C:\Users\GRINAY\Documents
\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1477
I/Unity (22002): at AstarPath.Awake () [0x00119] in C:\Users\GRINAY\Document
s\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1064
I/Unity (22002):
I/Unity (22002): (Filename: C Line: 0)
I have a error periodic. Pathfinder not work until restart application. Your help me ?
I cannot check the exact code right now. But until then, could you provide the settings you use for the error to occur.
Also, just to make sure nothing has been corrupted, or old files being used. If you have upgraded the system at some point, try to delete the AstarPathfindingProject folder and import the package again.
This error occur after several level restarts.
I think that when AstarPath destroying(level restart) not all variables cleared and this leads an overflow.
after this error i have error in editor There was an error generating the graphs: System.IndexOutOfRangeException: Array index is out of range. at Pathfinding.Nodes.GridNode.FloodFill (System.Collections.Generic.Stack1 stack, Int32 area) [0x00008] in C:\Users\GRINAY\Documents\Develop\Other\Assets\AstarPathfindingProject
\Generators\odeClasses\GridNode.cs:253
at AstarPath.FloodFill () [0x0018c] in C:\Users\GRINAY\Documents\Develop\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1400
at AstarPath+c__Iterator8.MoveNext () [0x0054f] in C:\Users\GRINAY\Documents\Develop\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1561
at AstarPath.MenuScan () [0x000d7] in C:\Users\GRINAY\Documents\Develop\Other\Assets\AstarPathfindingProject\Core\AstarPath.cs:1453