Weird paths problem

Godot Version

4.5

Question

Hi i have stange problem in my game. I am using NavigationAgent2D but it tends to create weird paths. In the screenshot there is part of my game and as u can see it goes to this corner and only after that it goes in the right direction do you know how to fix it? here are also screenshots from the inspector (turning of simplyfy path is not working:)



You need to turn down “path max distance”.

There’s also a bug in 4.5 that has been fixed for 4.5.1 that is related to 2D pathing because they separated out the 3D and 2D pathing code into two separate pieces in 4.5. This could be related.