Entering non-walkable area gives error

Hi,

i’m currently using grid graph for my 2D rouge-like game development.
I set obstacles with tags to prevent monster to walk on it, but when player enter non-walkable area and re enter to walkable area

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEngine.Vector3].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
Pathfinding.Util.PathInterpolator.get_tangent () (at Assets/AstarPathfindingProject/Core/Misc/PathInterpolator.cs:25)
AILerp.CalculateNextPosition (UnityEngine.Vector3& direction) (at Assets/AstarPathfindingProject/Core/AI/AILerp.cs:359)
AILerp.Update () (at Assets/AstarPathfindingProject/Core/AI/AILerp.cs:319)

this error appears. am i doing something wrong?

Hi

I think this is a bug that has been fixed in the beta.
You can try it and see if that works by downloading it here: https://www.arongranberg.com/astar/download