Build time takes too long (few minutes)
Few days ago I have conveted my project to 4.8 version (from 4.7.6). The build time with 4.7.6 (In VS C++) was about one or one and an half minute at the top. Usually it took 30 seconds. After I have convert the project to 4.8 the build time is very long. It takes a few minutes to build. Usually 180 seconds and 4-5 minutes sometimes. I can not work like that, it is very exhausts. I am pretty sure this is a bug because I can not see a legitimate reason for the code to compile so long.
I run the project on 64bits with DebugGame Editor on this settings:
I also have tried to uncheck the UE4 build radiobutton but it did not change anything.
Edit: I have just figured out why it takes so long. When I debug the code with VS when UE is closed the build time takes 20 seconds, but when it opens it takes few minutes. UE 4.8 takes too much resources from the computer. I can see that because the whole computer becomes slower. In 4.7 it did not happened. My CPU is intel i5 3.3GHz
As the size of the game grows it will naturally take more time to compile everything. Here are a few ideas that may help to decrease compile time.
If File A includes File B and File B includes File C, then that means that File A will include File C even if it doesn't use it.
Rebuilding the engine should only be necessary if you've made changes to the engine's code. If you only make changes to the game code then the engine does not need to be rebuilt when compiling code.
answered Jul 01 '15 at 08:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here