Extremely long build time
Hello! I am new in UE4 and I have a HUGE problem with build times.
I am following this course, and I am experiencing very and very big build times.
For example, I am on seventh video and now I have THIS solution structure
I have a hot reload configured and I am using this build settings (as far I understand, I should build the project every time I make a change in C++ code, because it's the only way to have changes in editor).
Now a quick test. I have my project, I go to ONE .cpp file and change only ONE ARGUMENT IN ONE FUNCTION. I click "UnrealVS Quick Build -> Development Editor" and I have this:
What am I doing wrong? I beg you for help, because It can't be possible to waste so much time just for a small little change in code. I am really can't believe that this is normal. I really wan't to write C++ code, but with that slow workflow It feels impossible.
It is also takes about 1-2 minutes to CREATE new C++ class (derived from Actor, for example). It recompiles the project and doing other things.
I've made a fresh VS2017 and UE4 installation today but it didn't help at all! I read about IWYU and it seems it is ON bu default in my .cs file (PCHUsageMode.UseExplicitOrSharedPCHs).
My specs: - i5 4690K - GTX 970 - 8GB of RAM - Win 10 (up-to-date)
Ok. Slow compile times were because of RAM. Close your browser and free ~3 GB of ram. It will be very fast.
I don't understand that behaviour, because there is no warnings and messages about your RAM. It's silently increasing compile time and stop using all available RAM. I think because it's trying not to hang up your PC.
answered Dec 18 '17 at 12:25 PM
Hey there, i'm not sure if it helps, but i've never used that, i've always used the Compile button in the editor to hot reload and unless you are changing some core stuff in the header file usually it works without having to restart the engine and it's decently fast.
answered Dec 16 '17 at 08:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here