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"

Navmesh won't rebuild at runtime in some areas only.

I'm having an issue where some "Cells" of the navmesh won't update at runtime. They only update if I force them to rebuild either in the editor or using the rebuildnavmesh console command.

alt text

Trees (these are foliage)

alt text

Trees removed at runtime foliage deleted and new BP versions in their place.

alt text

Here in another area of the map for some reason the navmesh does not update. You can see by the grid shape (in red) seems to be some of the cells never get update called.

Any help would be appreciated.

Product Version: UE 4.18
trees.png (194.5 kB)
treesfalldown.png (113.8 kB)
noupdate.png (697.8 kB)
more ▼

asked Feb 22 '18 at 12:31 AM in Everything Else

avatar image

Jeramy Cooke
13 2 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I think I discovered part of the problem.

I tried to repro this issue in TopdownExampleGame and after some experimentation found that the navmesh starts breaking if you add multiple nav mesh volumes. As you can see from this screenshot parts of the navmesh stop rebuilding. as you create new volumes.

alt text

multinavmesh.jpg (128.6 kB)
more ▼

answered Feb 22 '18 at 01:12 AM

avatar image

Jeramy Cooke
13 2 5

avatar image Jeramy Cooke Feb 22 '18 at 01:22 AM

Was able to confirm in a setup like this where you have multiple "islands" of nav mesh on the same plane it seems to stop updating as you would expect.

It doesn't seem to be related to multiple volumes but instead to multiple "islands" of nav mesh in the same level. I was able to reproduce the same broken behavior simply by stretching a single nav mesh volume over all the geometry "islands" in the level.

avatar image Jeramy Cooke Feb 22 '18 at 01:27 AM

Not sure why but it has something to do with the relative location of the other segments of nav mesh.

Moving my other islands of nav mesh as shown below also works around the broken behavior.

alt text

offset.jpg (127.4 kB)
(comments are locked)
10|2000 characters needed characters left
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