Linecast was stuck in infinite loop

Today I had got.

Linecast was stuck in infinite loop. Breaking.
Pathfinding.NavmeshBase:Linecast(INavmesh, Vector3, Vector3, GraphNode, GraphHitInfo&, List1) (at Assets/AstarPathfindingProject/Generators/NavmeshBase.cs:1010) Pathfinding.NavmeshBase:Linecast(Vector3, Vector3, GraphNode, GraphHitInfo&, List1) (at Assets/AstarPathfindingProject/Generators/NavmeshBase.cs:942)

I do not know how dangerous it is, still just decided to let you know it happened.


Thanks for reporting this.

I have just remembered that I have forgotten to write why it was happening.

Well basically there was a very small region but very long, almost paralele edges. During GetPortals, nodes were returned back and forth resulting in an infinite loop.