Hey guys, I’ve been trying to solve this for 2 days and I’m getting nowhere. I’m really hoping someone can provide some help and show me something I’m totally overlooking.
My very simple AI behavior tree (find random location to roam and chase player when seen) does not work when I package my game. It works perfectly when playing in the editor or in a standalone window. I’m on 5.1.1 for the engine.
There’s nothing blocking or poking holes in my nav-mesh when playing in the editor. In the Navigation Mesh settings for my project I’ve tried all options in the Runtime section and it doesn’t work still. I’m at a loss.
There’s only one scenario where it half works and that is if I check “Can Ever Affect Navigation” under one of the weapons on my character mesh. Then the AI sort of does the roaming behavior but only when the player enters the nav mesh which is super weird. Otherwise it will not move. And in this case, the AI is all jittery and behaves totally wrong.
That last case leads me to believe that it has something to do with loading the nav-mesh or updating the nav mesh or collision based?
What am I overlooking here?