# Internal compiler error while compiling Unreal Engine 5.3.1 from Source

**URL:** <https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [October 21, 2023, 7:24pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105 "2023-10-21T19:24:15Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_379dcd0a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_379dcd0a1](https://forums.unrealengine.com/u/anonymous_user_379dcd0a1)\
**Post date:** [October 21, 2023, 7:24pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/1 "2023-10-21T19:24:15Z")

</div>

I am trying to build Unreal Engine 5.3.1 from source but Visual Studio 2022 is giving me an internal compiler error when I attempt to compile it:

```auto

1>C:\dir\ue5\Engine\Source\Runtime\Engine\Private\PhysicsEngine\PhysDrawing.cpp(173): fatal error C1001: Internal compiler error.

1>(compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 234)

1> To work around this problem, try simplifying or changing the program near the locations listed above.

1>If possible please provide a repro here: https://developercommunity.visualstudio.com

1>Please choose the Technical Support command on the Visual C++

1> Help menu, or open the Technical Support help file for more information

```

I had downloaded the `UnrealEngine-5.3.1-release.zip` file, run the `Setup.bat` followed by the `GenerateProjectFiles.bat` files, and then opened the solution, changed the environment to `Development Editor` on `Win64` and tried to build UE5.

My visual studio 2022 was installed with [these components](https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2022&preserve-view=true):

```auto
vs_community.exe --layout c:\VSLocalLayout ^
--add Microsoft.VisualStudio.Workload.NativeGame --includeRecommended ^
--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended ^
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
--add Microsoft.Net.Component.4.8.1.SDK ^
--add Microsoft.VisualStudio.Component.Windows10SDK.18362 ^
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
--add Microsoft.VisualStudio.Component.Windows10SDK.20348 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22000 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621 ^
--lang en-US

```

I attached the full compile log.  
[ue5\_compile\_log.txt](https://forums.unrealengine.com/uploads/short-url/dxMlPy3O2BzoVQ3Fp0XfXSOE6cU.txt) (859.9 KB)

Anything obvious I may have done wrong, or are there any visual studio 2022 components I’m missing? Should I try an older version of UE5 instead?

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [October 21, 2023, 8:49pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/2 "2023-10-21T20:49:45Z")

</div>

Hi,  
Two things

[Add a larger pagefile.sys to make up for only 8GB memory - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/cant-create-c-project-or-use-c/238169)

Click in Visual Studio 2022 update install “More…” box the “Repair” function then the “Update” box for the latest version  
Try my version with instructions at  
[jimshalo10/UnrealEngine-5 at Luoshuangs-GPULightmass-5.3 (github.com)](https://github.com/jimshalo10/UnrealEngine-5/tree/Luoshuangs-GPULightmass-5.3)

---

<div class="post-metadata">

**Author:** ![cute\_fool](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cute\_fool](https://forums.unrealengine.com/u/cute_fool)\
**Post date:** [October 30, 2023, 1:30pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/3 "2023-10-30T13:30:29Z")

</div>

same problem seeking solutions

---

<div class="post-metadata">

**Author:** ![Peter.Maandag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Maandag](https://forums.unrealengine.com/u/Peter.Maandag)\
**Post date:** [December 5, 2023, 1:16pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/5 "2023-12-05T13:16:50Z")

</div>

I have the same problem, absolutely no idea what causes it.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [December 5, 2023, 9:50pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/6 "2023-12-05T21:50:06Z")

</div>

Hi,  
This error was fixed in 17.8 of vs2022  
open the Visual Studio Installer from Windows start bar,  
Click modify and update to the Latest version of Visual Studio and then Repair and the error will be fixed

---

<div class="post-metadata">

**Author:** ![Peter.Maandag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Maandag](https://forums.unrealengine.com/u/Peter.Maandag)\
**Post date:** [December 7, 2023, 8:21pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/7 "2023-12-07T20:21:59Z")

</div>

No. In my case it has to be some hardware issue or something, but changing out memory or using a different SSD didn’t have any effect. Other systems work fine, so it’s strange that the error only occurs when compiling large code bases on this system. Other stress tests or heavy applications run without errors so far.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [December 7, 2023, 9:08pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/8 "2023-12-07T21:08:25Z")

</div>

hi @Peter.Maandag ,  
there is an posting  
[Why am I receiving an error when trying to compile in VS (C1001, MSB3073)? -](https://forums.unrealengine.com/t/why-am-i-receiving-an-error-when-trying-to-compile-in-vs-c1001-msb3073/278882/8)

Checked the error in source code the code is fine on other PC

---

<div class="post-metadata">

**Author:** ![Peter.Maandag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Maandag](https://forums.unrealengine.com/u/Peter.Maandag)\
**Post date:** [December 11, 2023, 4:34pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/9 "2023-12-11T16:34:15Z")

</div>

Thanks, my issue was system instability after all. Prime95 tests also fail after a long time.  
The RAM and SSDs used are verified intact. Must be bad BIOS settings or something like that. Pre-built Intel system is being sent back, it’s just not stable even after updating to the latest BIOS and disabling all ‘multi core enhancement’ / xmp settings.

---

<div class="post-metadata">

**Author:** ![Peter.Maandag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Maandag](https://forums.unrealengine.com/u/Peter.Maandag)\
**Post date:** [December 21, 2023, 9:29am UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/10 "2023-12-21T09:29:16Z")

</div>

In case anyone is interested: I got my PC back from the store and they added a bunch of fans, but what I think really fixed it is that they changed the SVID behavior setting in BIOS to ‘Intel’s Fail Safe’. Something I overlooked myself… My PC is working normally now, no more internal compiler errors.

\*EDIT: The friggin i9 13900K is still unstable. It may be overheating, although it has a high-end air cooler. Turns out that this problem returned after some time. I had to reduce the power limit drastically on this CPU in order to prevent it from malfunctioning. Latest intel CPUs really are a head ache. If you really make use of this CPU it turns out they are just unstable on factory default settings.

---

<div class="post-metadata">

**Author:** ![Linqen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/linqen/32/924597_2.png) [@Linqen](https://forums.unrealengine.com/u/Linqen)\
**Post date:** [May 27, 2024, 11:53pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/11 "2024-05-27T23:53:44Z")

</div>

Hey everyone, if you have Intel 13900k or 14900k like most of us having this issues, be sure to not have any undervolting or overclocking settings.

Even if those settings are already battle tested and they don’t fail anywhere else, at least that was my situation. I had some safe undervolt and taking it to default fixed the issue.

---

<div class="post-metadata">

**Author:** ![illYay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illYay](https://forums.unrealengine.com/u/illYay)\
**Post date:** [March 17, 2025, 5:41am UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/12 "2025-03-17T05:41:47Z")

</div>

I have this problem as well which is very frustrating because it didn’t used to happen when I first got the computer.

It helps to change a setting in the Bios called CPU Vcore Loadline Calibration and set it to higher values. It can make the CPU get hotter but makes it more stable or something. I’m not a huge expert.

I found some reddit post that explained this exact issue with Prime95 instantly crashing on the i9 13900K. This is one example. [https://www.reddit.com/r/intel/comments/17w1o60/prime95\_worker\_failures\_with\_a\_i9\_13900k/](https://www.reddit.com/r/intel/comments/17w1o60/prime95_worker_failures_with_a_i9_13900k/)

Compiling Unreal seems to do a great job stressing the CPU as well.

Unfortunately I just tried compiling 5.5 and got a few errors again. I’m seeing what happens if I turn up the setting. So far I turned it up one more notch and the engine is compiling without errors. Maybe it’ll get to a point where I have to just get a new CPU if it keeps getting bad. I got the i9 at the time where Intel overtook AMD again but now it might be time to go with amd cpus as my next one.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [March 17, 2025, 6:19am UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/13 "2025-03-17T06:19:07Z")

</div>

> [@Linqen](#):
>
> Intel 13900k or 14900k

[How to check if your Intel 13/14 gen cpu is affected by instability problems](https://www.cpu-monkey.com/en/article/how_to_check_if_your_intel_13_14_gen_cpu_is_affected_by_instability_problems)

[Re: Microcode (0x129) Update for Intel Core 13th and 14th Gen Desktop Processors - Page 5 - Intel Community](https://community.intel.com/t5/Processors/Microcode-0x129-Update-for-Intel-Core-13th-and-14th-Gen-Desktop/m-p/1627008)

---

<div class="post-metadata">

**Author:** ![illYay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illYay](https://forums.unrealengine.com/u/illYay)\
**Post date:** [March 17, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/14 "2025-03-17T20:27:38Z")

</div>

I’ve used that tool they suggest in the article and my CPU passes. Maybe I can get a warranty replacement or something though.

I tried prime 95 torture test and my computer immediately BSOD’s unless I change the Loadline Calibration BIOS setting.

Also compiling unreal does seem like a good test. If you have even a single internal compiler error, clearly you’re suffering from instability.

I’m interested in trying this microcode update you linked to. I’d be super happy to have this issue go away. It’s extremely frustrating to buy some super high end parts and deal with hardware instability.

---

<div class="post-metadata">

**Author:** ![neural\_networks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@neural\_networks](https://forums.unrealengine.com/u/neural_networks)\
**Post date:** [November 7, 2025, 3:13am UTC](https://forums.unrealengine.com/t/internal-compiler-error-while-compiling-unreal-engine-5-3-1-from-source/1340105/15 "2025-11-07T03:13:26Z")

</div>

I ran into the same internal compiler error while building Unreal Engine 5.5.4 from source.

In my case, I’m using an **Intel i9-13900K** , and **disabling Hyper-Threading in the BIOS** resolved the issue completely. After turning it off, the build succeeded without any compiler errors.

For reference, here’s a related report on the Visual Studio Developer Community:  
[https://developercommunity.visualstudio.com/t/C-Linker-keeps-failing-when-hyperthrea/10578394](https://developercommunity.visualstudio.com/t/C-Linker-keeps-failing-when-hyperthrea/10578394)

Hope this helps anyone running into the same issue.
