I’ve built a level where I have nav mesh that is dynamic at run time. There is a procedural mesh in my level. Everything works fine when I run in editor. As you can see from this image:
But when I package the project for linux. The nav mesh no longer properly regenerates. As you can see from this image:
I’ve attached the project [ProvNavTest.zip][3] for ease of debugging.
I think I’ve narrowed down the problem to
this block of code:
if ((AggGeom.ConvexElems.Num() == 0 && CDP == NULL) || !bHasCookedCollisionData)
{
return NULL;
}
from Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodySetup.cpp always returning NULL in the linux build.
when I change that code to read:
if ((AggGeom.ConvexElems.Num() == 0 && CDP == NULL) && !bHasCookedCollisionData)
{
return NULL;
}
It seems to work, but I am not sure that is an appropriate fix.