How can I visualize a navmesh for a custom agent?

Hi,

I’ve posted this already in the “General Discussion” section to no avail. I apologize for the repetition, but I’m doing it out of desperation, hopefully here somebody could come to my rescue :slight_smile:

Here’s the thing:

My Navigation System supports two non-default Agents, one called “TheBeast”, the other called “Cats”. I set “enable drawing” for both of them:

…then I issue the console command “ShowFlag.Navigation 1” (tried also with just “Visualize Navigation”) but nothing happens.

The navdata is there (both Agents move correctly), however I can’t find a way to visualize those navmeshes.

How could I visualize my custom navmeshes? (similarly to how you visualize your default navmesh… you know… just by pressing P or using console command show navigation)

Thanks in advance.
f

So after banging my head for a long time on this one, I’ve discovered that as you run your PIE session, the Enable Drawing flag is set to false. So the solution to this issue is to set the flag back to true WHILE THE GAME IS RUNNING. At that point the console command “Show Navigation” works as expected. As a bitter note, I haven’t found a way to visualize the custom agents navmeshes while in editor mode (ie. without the game running).