Building from source: 'An internal error has occurred in the compiler.'

Trying to compile Development Editor - Win64 (Preview Build 2289630) in VS2013. Build fails with multiple internal compiler errors.

Compilation output attached

Hi TheFear,

What version of Visual Studio 2013 are you using? If you have the Express version, are you using Express for Windows Desktop?

Hi ,

Thanks for the reply, I’m using Visual Studio 2013 Ultimate.

Still having this issue. Editor and Project build fine on other PCs, just not 1 in particular (ironically the most stable and powerful of the machines).

I have attached the most recent output if it helps.

Things I have tried:

  • Clearing my workspace and getting a ‘fresh’ latest from source control
  • Reinstalling VS2013
  • Checking for read-only files

Am I missing any other logical steps?

Sorry for not getting back to you sooner. If you could, please check to make sure you have the latest service packs for Visual Studio installed.

I have not been able to reproduce this issue yet. This issue has popped up once or twice in the past, and at least one user was able to resolve the issue by re-installing Windows. I would prefer to find a solution that does not involve taking that step, though.

I encountered this same error and managed to fix this in my case. Adding my experience here for it may help future searchers.

I was compiling a game project against UE built from source (4.22) with the UE source code included in the solution. The compilation failed on engine code lines within certain FORCEINLINE functions. The error was always “fatal error C1001: An internal error has occurred in the compiler.” The same code base compiled fine on a different machine using the same Visual Studio version, vc compiler version, WinSDK version, etc. What fixed it for me was clearing Visual Studio folders of local app data, so deleting

  • C:\Users\AppData\Local\Microsoft\VisualStudio
  • C:\Users\AppData\Local\UnrealEngine
  • C:\Users\AppData\Roaming\Microsoft\VisualStudio
  • C:\Users\AppData\Roaming\UnrealEngine

You’ll lose your Visual Studio preferences and need to re-enter your Visual Studio license, but VS Community being free that shouldn’t be an issue.