Nav Mesh Issue and AI Move To Aborted

Hello, I am using Ue version 5.5.4 and no matter what I did, I could not get the AI to move to the object you see below. AI Move To fail section says Aborted. I changed many settings in RecastNavMesh-Default including cell size, agent radius and max simplification error but it didn’t work. I think the AI is fine, the auto possess AI option is in ‘Placed in World or Spawned’.

Hey @Slygear!

Can you show your code with the AI Move To? Also check that your goal isn’t underneath, and that the acceptance radius is high enough to draw from anchor to anchor. :slight_smile:

Get back to us soon!

Well on the screenshot there’s no navmesh in the middle so thats pretty obvious reason for MoveTo failure.

If you need AI to go directly to target location that target location must be on the navmesh (green area)

If you need AI to go near target location, use ProjectPointToNavigation to find point near target that is actually on navmesh and then MoveTo there

Hello, I am sure that the object is not underground and I have changed the acceptance radius many times. I have changed it to “10, 50, 150 and 300” but nothing has changed.




image

Hello, I want the AI to go directly to the target, but the problem is that there is no navmesh in the area around the object. I tried to solve this problem in many different ways but nothing worked.

have you tried ProjectPointToNavigation ?

Yes, I tried, but if the target I want the AI to go to is on another object, it should reach there with navlink, but when I use ProjectPointToNavigation, navlink doesn’t seem to work, I’m not sure about that yet. I need to do a few more tests, but for now, as far as I can see, I get success results even if they don’t get close enough to the object.