x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Dynamic Nav Mesh does not update when procedural mesh is moved in a project packaged for linux.

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:alt text

But when I package the project for linux. The nav mesh no longer properly regenerates. As you can see from this image: alt text

I've attached the project ProvNavTest.zip 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.

Product Version: UE 4.13
Tags:
more ▼

asked Mar 13 '17 at 11:39 PM in Bug Reports

avatar image

TMIVLeap
6 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey TMIVLeap-

Are you referring to the portion of the nav mesh on top of the sliding box? If the change you made was able to solve the issue for you, the best option would be to submit your fix as a pull request on GitHub (https://github.com/EpicGames/UnrealEngine/compare?expand=1) for consideration to be added directly to the engine.

Cheers

Doug Wison

more ▼

answered Mar 16 '17 at 03:05 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question