# It takes a long time to compile my UE5 project

**URL:** <https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, CPP\
**Created:** [March 16, 2023, 4:46am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844 "2023-03-16T04:46:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shortbana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shortbana](https://forums.unrealengine.com/u/shortbana)\
**Post date:** [March 16, 2023, 4:46am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/1 "2023-03-16T04:46:07Z")

</div>

It takes a long time to compile my UE5 project.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 16, 2023, 8:30am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/2 "2023-03-16T08:30:58Z")

</div>

Hey there @shortbana! Compilation times have risen a bit with Unreal Engine 5, how long are your average compile times? May I know your specs? What’s the scale of your project?

---

<div class="post-metadata">

**Author:** ![shortbana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shortbana](https://forums.unrealengine.com/u/shortbana)\
**Post date:** [March 18, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/3 "2023-03-18T16:40:27Z")

</div>

Firstly, thank you !

1. My project is still in the initial stage. I just created 18 classes. Some of those has no merber function.
2. I did not specific timing the average compile time, but I remember **the longest compilation tooks at least 15 minutes** , but the fastest took a few second. I am wondering about why adding a line of code ,which is used to assignment , takes a long time to compile ?

belowis my PC’s hardware list:

```auto
CPU: AMD 5800x
RAM: 32 GB
SSD 1T (storage software, including UE, VS)
HHD 4T (storage the files of my program)
GPU: NVDIA GT 730 2G

```

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 18, 2023, 8:34pm UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/4 "2023-03-18T20:34:12Z")

</div>

Compile time has many factors, CPU use, RAM use, and the scale of the changes are the three chief ones. Compile times should remain much lower than 15 minutes for a fresh project.

Is your project a mix of C++ and BP or just C++?

If both, does standard BP compile take as long?

Here’s another thread users were discussing the differences in comp times/speed from UE4 to 5, might not provide much but a bit of extra insight:

> [@UE5 C++ Compile Time is Substantially Longer](https://forums.unrealengine.com/t/ue5-c-compile-time-is-substantially-longer/619980):
>
> I’ve upgraded a medium size project to UE5 and we’re seeing substantially higher build times. I’m controlling for as many variables as I can and still seeing significantly worse performance in apples-to-apples comparisons to UE4. I’m opening the same project in both versions, using Visual Studio 2019 to compile, setting build process count to 22 (12 core / 24 thread machine), and unity builds are enabled. I’m observing two undesirable aspects, one of which seems like a serious regression. UE4:…

---

<div class="post-metadata">

**Author:** ![shortbana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shortbana](https://forums.unrealengine.com/u/shortbana)\
**Post date:** [March 19, 2023, 12:50am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/5 "2023-03-19T00:50:13Z")

</div>

Actually, My used C++ and BP to build my project , but standard BP compile doesn’t take as long. And also , my project is transfered from UE 4.27. In UE 4.27 ,project compile fast.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 19, 2023, 12:55am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/6 "2023-03-19T00:55:04Z")

</div>

I understand! UE4 compile times are going to be better for a while, due to new plugins and other engine parts that were added in UE5. As I’ve observed with most personal projects (and that thread) the jump to UE5 did increase both compile and build times exponentially. I know some users have been trying to find optimizations for it, like disabling excess plugins, cleaning up dependencies, etc, but from what I can tell it’s innate that UE5 is heavier. Still though, 15 minutes on a nearly fresh project is still anomalous. Are there any mass warnings during compiles? And are the redistributables up to date?

---

<div class="post-metadata">

**Author:** ![shortbana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shortbana](https://forums.unrealengine.com/u/shortbana)\
**Post date:** [March 19, 2023, 11:14am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/7 "2023-03-19T11:14:53Z")

</div>

I have updated my visual studio 2022 and there is no warnings during compile. Actually it has some error in my geme during the game is running. I made up a topic to seek a solusion for that error. However, I don’t think that lead my program compile time-consuming.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 20, 2023, 12:58am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/8 "2023-03-20T00:58:22Z")

</div>

I’ll have to do some research on if there are better ways (without gutting necessary plugins) to reduce the new compile time.

---

<div class="post-metadata">

**Author:** ![shortbana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shortbana](https://forums.unrealengine.com/u/shortbana)\
**Post date:** [March 20, 2023, 10:35am UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/9 "2023-03-20T10:35:31Z")

</div>

thank you very much!

---

<div class="post-metadata">

**Author:** ![TimPolh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimPolh](https://forums.unrealengine.com/u/TimPolh)\
**Post date:** [July 29, 2025, 1:31pm UTC](https://forums.unrealengine.com/t/it-takes-a-long-time-to-compile-my-ue5-project/791844/10 "2025-07-29T13:31:00Z")

</div>

I am writing for those who will be looking for an answer to this question. Initially, I put the build on and it was going to take about 6 hours and never came together. The content preparation function helped me first, and then the packaging, and since every time after big changes, it now takes about 10-15m.
