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"

First load/compile of the day extremely slow?

Hello, the first time I launch unreal for the day takes about 25 minutes. (binary UE4, from the launcher)

Launching the game after that (from crash or manual restart) is about 30 seconds. Same happens with compiling the c++. First compile takes up to 15 minutes even without any changes.

I heard somewhere this shouldn't happen and I may be losing some cached files when I restart my PC.

Is there any way to fix this?


Product Version: UE 4.13
more ▼

asked Nov 10 '16 at 04:05 PM in C++ Programming

avatar image

152 38 37 45

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

1 answer: sort voted first

Compiled Unreal engine has extremely large .pch (precompiled header files). If these files are not in your RAM cache, compiler will spend relatively long time loading them into the memory. To avoid this dependency I've put all Unreal engine files to SSD, this eliminated any build time dependency from number of builds before now.

more ▼

answered Nov 13 '16 at 01:38 PM

avatar image

79 1 3 7

avatar image Juice-Tin Nov 14 '16 at 03:04 PM

Hey Gildor, I don't understand how moving the unreal engine to SSD eliminated build time dependency. Do you mean it's just much faster now because of SSD? Or were there also some other steps you took? I don't have an SSD so I'd love to know if it's possible to fix without one.

avatar image Gildor Nov 14 '16 at 03:07 PM

Hi. I didn't mean "eliminated build time" dependency. It eliminates time required for OS to read huge amount of data from HDD to RAM, which causes very slow build for the first time after reboot. It is not possible to "fix" this, just because OS must read these data from disk. When you're building project again, you'll have these data in RAM cache, so compiler will not spend any time reading data from disk.

(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