Nav Mesh needs to be rebuilt when changing levels

davidtveraas
Sun, 20 Jun 2021 21:13:24 +0000
World Creation

I was running into an issue breaking all my AI’s navigation. I had made a main menu that has a Play button which goes to the first level. Whenever I access the first level via this button it breaks my Nav Mesh which says it needs to be rebuilt. Adding a new Nav Mesh fixes it for play in level, but if I try to access the level via the Main Menu, it breaks it all over again.

I found in the Project Settings, a setting called “Should Discard Sub Level Nav Data”, which was checked by default. Unchecking it seems to have fixed my issue.

Why would I want to discard sub level nav data and why is this default? Would keeping this unchecked pose an issue with future development on this game? Also, does anyone know of another solution, or was unchecking this the right way to handle this problem? Thanks for the help!

1 post - 1 participant