Download

How to know if Dynamic Nav Mesh is done building?

I have procedural level inside a dynamic nav mesh volume that generates in-game. It works perfectly fine but since the generated level can be a bit big, it takes some time to build the navigation mesh. What I want to know is if there is a way to find out if a dynamic nav mesh is done building.

What I really aim for this is that the navigation mesh should be computed completely before game start. Is there such a way?

I hope this is in the right section.
I tried asking UE4 Answers but no one has responded so I was hoping someone can post some answers here.

Thanks in advance!!

To anyone who is wondering, I think I have a lead to find out how.
There is an event called UNavigationSystem::OnNavigationGenerationFinishedDelegate that fires when navmesh is done building.
The only problem I have now is finding where this event is. It seems that it is a c++ event call, I’ll try to dig a bit to see what I can do.

0ee02cde6ec09f9d12d7387c323729a522c53ea2.png

I found out about it, you have to bind the event delegate to your custom event or whatever event you want to bind!
If anyone wants to add anything, feel free. :slight_smile: