Getting Error While Building Unreal Engine From Source

Hi @DanM
I Am Building Unreal Engine From Source And Getting This Error On Microsoft Visual Studio Enterprise 2019
Version 16.9.3

>E:\Epic Games\UnrealEngine-4.26.1-release\Engine\Source\Runtime\Core\Public\GenericPlatform\MicrosoftPlatformString.h(51): fatal error C1001: Internal compiler error.
1>  (compiler file 'd:\A01\_work\12\s\src\vctools\Compiler\Utc\src\p2\main.c', line 213)
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
1>

2nd Time

Can You Help Me?

Not sure why you’re getting an ICE but the second screenshot seems like you might not have installed a dependency or at least it needs repairing.

Could you check if the Windows SDK and .NET SDK are installed? You can do that from the Visual Studio Installer which you can find in your Start Menu

1 Like

First I Want To Know Why ICE Occurs?? I Mean What The Very Main Reason Behind It??

I Am Giving You Screenshot Of What I’ve Installed Or What I Haven’t.

And Also Building The Engine Is Taking Approx 11 Hours Which Is Insane.
So I Decided To Remove Some Unused Plugins From The Folder E:\Epic Games\UnrealEngine-4.26.1-release\Engine\Plugins
But Getting Error, So There Must Be A Way To Remove Those Plugins Without Error. Now Please Don’t Tell Me To Buy A SSD.

Most likely a compiler bug. If it happens again you should report it here

https://developercommunity.visualstudio.com/search?space=62

Have you tried repairing?

Well… You’re not going to like my answer then :sweat_smile:.

Last time I built from source on my HDD it took about as long as it did for you. Doing so on an SSD it took about an hour.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms