# UBT takes a long time to start

**URL:** <https://forums.unrealengine.com/t/ubt-takes-a-long-time-to-start/1621658>\
**Category:** Platform & Builds\
**Tags:** UE-5, compiling, build, unreal-engine, ubt, question\
**Created:** [January 17, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/ubt-takes-a-long-time-to-start/1621658 "2024-01-17T15:44:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.windgassen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@j.windgassen](https://forums.unrealengine.com/u/j.windgassen)\
**Post date:** [January 17, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/ubt-takes-a-long-time-to-start/1621658/1 "2024-01-17T15:44:12Z")

</div>

Hey everyone.

I’m trying to compile my a C++ Unreal Project with Unreal 5.3. Whenever I try to compile my Project, though, the build takes 10-20 minutes to start. The UHT runs fine, but as soon as `------ Building x action(s) started ------` comes, the build freezes for a long time, before the main compile starts.

I’m using Rider as my IDE and already reinstalled the engine and cleared all intermediate files of the project, but that did not fix the problem. I also tried to compile with Visual Studio 2022, and switched to another project, but experienced the same problem.  
When running the build command via Terminal, the build starts faster, but still pauses for a few minutes.

I uploaded the UBT Log to [pastebin](https://pastebin.com/S4ebyEGf). I can see a few hundred lines of Logs regarding PCHs, like `'...\Source\Runtime\Core\Public\Templates\IsSigned.h' is not exporting types so we are ignoring the dependency` and `Could not find include directory for 'wchar.h' found in '...\Source\Runtime\Core\Public\HAL\PlatformCrt.h'`. I don’t know if these are to be expected, or they cause UBT to process for ages?!

Any Hint or Guesses are appreciated. Thanks in advance.

P.S.: I just noticed, that the Installation of the RiderLink Plugin, which uses the `BuildPlugin` option of UBT does not pause and starts compiling directly.

---

<div class="post-metadata">

**Author:** ![swoorpious](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/swoorpious/32/1086303_2.png) [@swoorpious](https://forums.unrealengine.com/u/swoorpious)\
**Post date:** [June 5, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/ubt-takes-a-long-time-to-start/1621658/2 "2024-06-05T15:45:01Z")

</div>

> P.S.: I just noticed, that the Installation of the RiderLink Plugin, which uses the `BuildPlugin` option of UBT does not pause and starts compiling directly.

can you explain RiderLink and `BuildPlugin` more because i am tired of waiting for it to start building as well?

however, in my case, i have made some changes to the `BuildConfiguration.xml` that skip memory checks and increase the parallel processes count. this does make the process slightly smoother but i still have to wait before it actually starts building anything.

```xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
    <BuildConfiguration>
        <MaxParallelActions>12</MaxParallelActions>
        <bUsePCHFiles>true</bUsePCHFiles>
        <bAllCores>true</bAllCores>
    </BuildConfiguration>
    <ParallelExecutor>
        <MaxProcessorCount>12</MaxProcessorCount>
        <ProcessorCountMultiplier>2</ProcessorCountMultiplier>
        <MemoryPerActionBytes>0</MemoryPerActionBytes>
    </ParallelExecutor>
</Configuration>

```
