Unreal Engine source build takes too long

I am trying to build unreal from source build to be able to access server build but after generating the project files and set configuration to development editor and start UE project build it takes almost 6 hours and too much space on my hard up to 150 GB and after al that it gave me error invalid or corrupt file: no symbol for COMDAT section number 0x3
I am trying to build it again now
can anyone help on how to make the build success in less time ?

Build times are dependent on your current hardware. Slower drives will increase build times based read/write speed. CPU is also a factor in build times. The very first build will always be the longest. While i do not boast great hardware my build times avg 1-3 hours depending on which version i am building. As for the size of the install, this depends on what you are trying to build. RAM can also cause issues with builds. Slower ram reduces package decompression times. Some will argue, however i have tested this on systems that simply swap ram and build times fluctuate. As for the error you are receiving, unfortunately i am not familiar with it.

i figured my issue and it was because of my hard drive
it was slow so it toke too much time and i moved the project to ssd and it worked fine in just 2 hours or less i think so i want to thank you very much for ur cooperation alot

see you later, thanks neo :slight_smile:

well that’s strange because UE5 build from source will probably take me 6+ hours. It’s been going for over 2.5 hours now and it’s at [1110/5800] Compile Module.AppleARKit.cpp…

and my PC CPU & drive are top of the line

idk what’s wrong

The first compile is always the longest, when i rebuild it i get about ~3-4 hours, consecutive builds are less than 30 minutes depending on what i changed or if i updated.

Since i started building with Visual studio 2022 my build times are less than 3 hours and continue to get quicker.

I’m trying to compile on windows 10 with an i5 10400f processor and 16gb of ram on a hard drive… It takes about 8 hours and it throws an error…

I also compiled unreal engine for linux ubuntu using a hard disk and as a surprise it compiled in only 1 hour.
There is something strange in windows that the compilations take much longer or windows for compilations is terrible…