Reducing agent radius prevent ai from moving

Hello,

We have a navmesh setup in our level and the ai is moving fine in it, but their radius is a bit too big and they can’t go through doorway, so we tried to reduce the agent radius to allow them passage, but as soon as we reduce it lower than 31, they just stop moving. We tried to change cell size, but to no avail.

Any ideas on why it’s not working is welcomed.

Thank you.

Do you have multiple navmeshes? Did you change both NavigaitonSyste.SupportedAgent’s and pawn’s collision radius?

We have only one navmesh, and we tried with the supportedAgent getting the same result, we also tried different radius for our pawn’s capsule, and whatever the size we put when the agent radius is above 31 it works, and below 31 it does not work.

Normally it’s ANavigationData* UNavigationSystem::GetNavDataForProps where the decision is made which NavigationData is used by a given agent. But since you have only one supported agent then it should always return navigation system’s MainNavData. So I can only suggest debugging why MainNavData is not getting set for you.