Linecast failing

Hello! I sometimes get the following warning: “Linecast failing because point not inside node, and line does not hit any edges of it” (in NavMeshgenerator.cs). I am using a recast graph and the RichAI script.
Is this a serious problem? Because the AIs are linecasting all the time and I get this message only every now and then. Also the AIs seem to work as intended. They don’t stop and just keep following their path. Nevertheless it seems that something is not working correctly. Any suggestions?

Cheers,
Thomas

Hi Aron! Thanks for the quick response!

Same warning here.

Hi

That is a known bug. It has to do with very annoying floating point errors which I haven’t been able to fix yet. It is harmless though. What happens is that the RichAIs funnel simplification may threw an error, but most of the time, the output will be identical to if the error would not have been thrown. In some cases a slightly less optimal path may be produced, but that is very rare.

You are safe to just ignore the warning.

The message may be harmless for the function for the AI. The message is not suppressed when the debug settings are set to only errors. Printing the message costs around 20 ms at certain frames in my scenario with around 20 agents. I know this might be different in release builds, but it will still take a lot of time. So I guess one could say that the not to suppress the warning message is a bug?