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. 

Play In Editor taking long time to start?

Hi there, I have a project with a terrain of 18km x 18km (rather large) and performance is fine once in game, however I'm starting to put together some AI and upon adding my navigation mesh (approximately 160,000 instructions) my PIE is taking 5+ minutes to start. I've looked around and found that other's have solved this problem be disabling auto-calculate navigation and auto-compiling of blueprints so I've gone ahead and done that to no avail. Could this be due to the system being bogged down upon run time or is this a problem related to the size of my terrain (and therefore my navigation bounds being extremely massive)?

Product Version: UE 4.17
Tags:
more ▼

asked Aug 23 '17 at 11:35 PM in Using UE4

avatar image

CaliberBeats
6 3 5

avatar image CaliberBeats Aug 23 '17 at 11:42 PM

I'd also like to clarify, before adding the navigation mesh, PIE would only take 2-3 seconds even with the large terrain so I'm 95% certain this is nav mesh related?

avatar image merkaba48 Feb 08 '18 at 03:45 PM

Look into dynamic navmesh generation, specifically 'Navigation invoker'.

Basically with such a large terrain, you might be better served dynamically generating the navmesh at runtime where it's needed.

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

1 answer: sort voted first

18km x 18km is a very huge area for the NavMesh to render

You might want to slice up your level into chunks and then use level streaming to load each one of them, so that it's easier on your engine.

https://docs.unrealengine.com/latest/INT/Engine/LevelStreaming/HowTo/

Also, you can take a look at this website as a reference on how Unreal deals with it's NavMesh generation (Unreal uses A* for their path finding algorithm)

https://qiao.github.io/PathFinding.js/visual/

Use the Euclidean heuristic in the A* section and then try to put the green and red cube at the edge. See how long it takes to generate

more ▼

answered Aug 24 '17 at 08:03 AM

avatar image

ObamaPls
6 1 1

(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