4.10 NavigationSystem MainNavData not created during PIE startup without a navmesh present
Apologies if this is already a known issue.
I've run into a crash that happens when a level containing an AI character starts up (only in PIE, standalone is fine). It occurs because GetNavDataForProps returns null in the UPathFollowingComponent::RecacheNavigationData function. It only happens if there is not a NavMeshBoundsVolume present in the level, and wasn't a problem in 4.9.
Steps to reproduce:
Here is a sample project file that illustrates the issue:
The fix is to simply add a NavMeshBoundsVolume to the level but it's not really obvious given the timing and location of the crash.
The ensure that is being triggered is meant to inform that an AI with a pathfollowing component is being used without any navigation on the map. It is not causing an actual crash and is safe to ignore if you don't need any pathing for the character.
answered Nov 23 '15 at 04:53 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here