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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Dynamic Navmesh only generates around player character?

I have a game which has a lot of level streaming that has forced me to use dynamic navmesh, as static navmesh seems to delete itself when used with level streaming.

I set up the navigation system for dynamic navmesh, but the navmesh is only generating within about 4000 units of the player character. This means any enemies outside that range don't try to attack. As soon as the player is killed the navmesh builds on the whole level.

I've tried using navmesh invokers to only generate navmesh around the enemies, which works, but still only if they are within around 4000 units of the player. Again if the player character is destroyed the enemies will all generate navmesh around themselves no matter where they are.

I can't seem to find any documentation, settings, code or anything that says navmesh is only supposed to generate within 4000 units of the player so what's going on here?

Product Version: UE 4.10
Tags:
more ▼

asked Apr 11 '16 at 11:06 AM in Blueprint Scripting

avatar image

Koo294
46 4 6

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

2 answers: sort voted first

+1

Having the same issue. is there a way to upvote a question so it gets noticed?

more ▼

answered Dec 02 '16 at 06:25 PM

avatar image

AdamGascoine
59 7 11

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

I had this too. It turned out there was an actor that was constantly invalidating navmesh in the generation zone, and the generation process never got further than it. The mesh continued to generate around the player as it was moving about though. So, possibly some fallback to prioritize generation around the player, even when the system is swamped.

more ▼

answered Mar 27 '18 at 12:04 PM

avatar image

NickDavies
1

avatar image Nix Jan 09 '19 at 05:04 PM

How can one find an actor that's causing such problems? What kind of actors can invalidate navmesh and for what reason? How to fix this?

(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