EXTREMELY long compile time

Hi there,
Using UE 4.26.2 and after adding the word list to the HiddenWordList.h it’s taking an extremely long amount of time to compile. Admittedly I did add 3000 words.
But it was only after adding the for loop to print the first 5 words that the issue cropped up.
The last compile took 1417 seconds…

That would definitely add to compile times. Did you try moving the loading to runtime?

Did you try moving the loading to runtime?

No I haven’t. I’m not sure! :slight_smile: Could you walk me through how to do that?

In the meantime should I reduce my library?

There’s an article in the course that goes over it “Loading Words at Runtime”. Do you have issues following that?

By that you mean the list of words? You can certainly temporarily reduce that, yes.

Privacy & Terms