Navigation2D get_simple_path() crash on IOS but work fine on Godot simulator

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By narunsa

My game is crash on ios but it fine when run on Godot simulator. I guess it crash because get_simple_path() func in Navigation2D when optimize parameter is true, but I don’t know why this function make it crash.

Sometimes it crash when player walk at this position (image below)
Sometimes it crash when player walk at this position (image below)

Thanks for help