Linecast fails in RecastGraph

Hi,

I made a Path modifier to enhance the shape of a calculated path. To do that I used the linecast method to check if they are obstacles between points.

Sometimes, the linecast fails because of (I think) a floating point issue.
The log says: “Linecast failing because point not inside node, and line does not hit any edges of it”.
When the issue happens the Linecast method in NavMeshGenerator return false and says: there is no obstacles.

Maybe this method has to return true when the issue happens ?
At the moment I updated the method to throw an Exception to let me calculate other linecast to bypass the issue.

Great library!

Bulwark Studios,
Jérémy