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)?
asked Aug 23 '17 at 11:35 PM in Using UE4
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.
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)
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
answered Aug 24 '17 at 08:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here