First, I placed my NavMesh in the scene and the area appeared green. But just to be sure, I expected the NavMesh to be built when I did Build All Levels—however, it didn’t work. On the contrary, the green area disappeared and it says “NavMesh needs to be rebuilt??”.
Now, when I delete it and place it again without doing any build, the AI still doesn’t move (actually, it doesn’t move in either case). I have no idea what to do. In the project settings, Allow Client Side Navigation is already enabled. This is the first time this has happened to me in 5.6.
After a long session of work (5 hours), I finally found the problem. In Unreal Engine templates, the level usually comes with partition enabled by default, so I guess the level gets an ID. This seems to be important for NavMesh, because when you create a new empty level it just has a default ID, and for some reason NavMesh can’t be built. Once I enabled World Partition for the level, my NavMesh finally worked! Hopefully, this will help people in the future. For world partition please watch youtube tutorials. Tools>Convert Level>Select your Level
without world partition
with world partition
1 Like
I have a bit of further info on this.
If you are using older levels built in versions 5.4 and below (I have upgraded versions over time of developing several long term projects) you will get this problem and others related to the new additions to the engine.
Anyway, if it happens and you do NOT want to use the world partition workaround to correct your level. You can just make a new basic level, then copy/paste all of your old level EXCEPT the usual template stuff like the lighting, player start, etc.
This works well if you don’t want to use world partitioning at all. I did not test with copying my old lighting, but don’t see why it wouldn’t work.