Hi, I wanted to test out UE5 so I cloned the 5.0 branch from GitHub, then clicked on the Setup.bat, then GenerateProjectFiles.bat and then opened the UE5.sln in VS 2022. There I selected Development Editor and Win64. In short, I followed the documentation and README in GitHub. However, it says there that compiling the engine should take between 10 and 40 minutes, and although I don’t have a bad PC, it takes me between 8 and 14 hours. Why and how can I solve this?
First give more information (like hardware specs), maybe check if there is no coin miner running in background that invited self with latest “must click me.exe” file.
Else it is all guessing. Unless ppl confirm that latest build indeed takes 12+ hours.
Nothing is running in the background, but VS doesn’t go to 100% hardwear usage either. My Hardwear:
CPU AMD Ryzen 5 2600X
RAM 16 GB
GPU AMD Radeon RX 580
SSD
No longer the best PC, but not that bad either.
I’m seeing around 40 minutes for an i7-11700K, 3.6 GHz with 64GB RAM and SSD. The i7-3960 is more in the 12 hour range. So yes, start by looking at supply and demand, i.e. hardware specs and if any processes are using up a lot of the resources.
It is very likely that the very long build time is a result of insufficient RAM, 16GB is not very much.
I have finally found a solution. Because I had read somewhere that VS 2022 also works, I used it. When I used VS 2019, everything went much faster.
Also make sure you are just building your project (or UE4/5 for a non-source project) and not “build solution”.
maybe not related, but how do I set Xcode 15.2, to literally show me, the code, in editor pane, as its compiling ?
thx