Navmesh runtime generation - Dynamic

I want to build navmesh at runtime but I did not find how. The only thing I found so that AI could move well in a map built in real time is to use (Navmesh runtime generation - Dynamic) The problem is that it lowers performance to a situation where it is almost impossible to play.
Anyone have an idea how to get AI to move on a big map and avoid obstacles left in real time?

@maordany I am sorry that nobody has replied to you. Go to Project Settings/Navigation System, and check “Generate Navigation Only Around Navigation Invokers”. Now add a NavigationInvoker component to your AI. A navigation mesh will now be visible around your AI. Hope it helps!

5 Likes