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"

Nav Mesh related crash

There's this bug: UE-61953.

"When the NavMesh is unloaded, it seems that the number of the DirtyLayers array is sometimes smaller than that of the CompressedLayers array."

I'm seeing exactly that, though I don't know if it happens when a NavMesh is unloaded or at some other time.

The setup is a world with world composition. The NavMeshBoundsVolumes are in the sublevels (except for one in the persistent level, because I read somewhere that you need one in there). There are also NavMeshModifierVolumes.

It doesn't always crash in the same area.

It happens in this section of RecastNavMeshGenerator.cpp:

 for (int32 iLayer = 0; iLayer < CompressedLayers.Num(); iLayer++)
 {
     if (DirtyLayers[iLayer] == false || !CompressedLayers[iLayer].IsValid())
     {
         // skip layers not marked for rebuild
         continue;
     }

It crashed because DirtyLayers is empty, but CompressedLayers has 1 entry.

Could maybe fix it by checking if has an entry at iLayer, but that might just cover up the problem, I don't know.

The issue has been changed to "Cannot Reproduce". Does that mean it's not being worked on anymore?

Product Version: UE 4.20
Tags:
more ▼

asked Oct 26 '18 at 06:32 PM in Bug Reports

avatar image

Dividual
227 6 97 21

avatar image Jeff A ♦♦ STAFF Oct 29 '18 at 07:12 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

avatar image Dividual Oct 29 '18 at 09:42 PM

i referenced an already existing issue (UE-61953). I figured i shouldn't make a new issue for the same bug (i assume it's the same). Should I?

I seem to have "fixed" it by just filling up the DirtyLayers array with falses until it has the same length as CompressedLayers. At least it hasnt crashed since, but it might just be masking the real problem.

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

0 answers: sort voted first
Be the first one to answer this question
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