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"

Navmesh not working after adding 50+ actors

I have a landscape with a single navmesh covering the entire thing (52000x52000x6000). In the landscape, I have a bunch of enemies with AI which basically run towards the player when in sight range, and attack the player when in attack range. This works great when I have about 30 enemies. I added about 50 more enemies to bring the total to 80, and now only the latest ~30 enemies I added will move - the original 30 just stand there, motionless. If I delete the newly-added enemies, the original ones magically start working again. If I add another 50 enemies (130 total), then they all stop working again except the ~30 most-recently added.

If I walk near the enemies that can't move, they attack me, so I know the AI is running. I also checked the behavior tree while running and it's calling the MoveTo node. I've been looking everywhere for some kind of information about a maximum number of actors on a single navmesh or something like that, but I can't find anything that might suggest what's broken.

edit: after some more testing, it looks like exactly the 50 most recently-added enemys work, and no others do

Product Version: UE 4.11
Tags:
more ▼

asked Jul 08 '16 at 11:06 AM in Using UE4

avatar image

hapro
26 3 4 8

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

1 answer: sort voted first

Thankfully I've found the answer here with some smarter search terms (using the 50 actor limit): https://forums.unrealengine.com/showthread.php?94511-Problem-with-AI-controller

Quoting from post:

Problem was in "Max Agents" option in Edit->Project settings->Crowd manager. Default value is 50. Maybe this information will help someone.

more ▼

answered Jul 09 '16 at 02:12 AM

avatar image

hapro
26 3 4 8

(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