UE 4.4 Fails to generate code project files

I’ve seen a few other threads about this that recommend reinstall VS & UE4 as well as some env vars or registry checks. I’ve reinstalled and checked env vars and still haven’t been able to solve it.

UE 4.3 was working just fine creating code projects however UE 4.4 is stalling on me and when I finally force close the buildTool the error message shows “Failed to generate code project files for …”

I have VS 2013 Express installed and VS 2010 (from previous stuff). I’m on Win 7 64bit. Blueprints work project creation works just fine and code creation still works fine in the 4.3 engine.

Is there a log somewhere that I could grab that might show what is going on?

Update:
Now I can’t even open the project I was working on in 4.4
Any help would be greatly appreciated. Might just have to revert to 4.3.1

13503-ue4-cant-open.png

Removing the space between Unreal Projects didn’t do anything. Still stalled on code creation in UE 4.4

I’m using VS 2013 Express for desktop (which is what UE4 requires…)

Hi, do you try not to put any space between folder name in your directory ?

That’s odd, never see that before but i’m only have VS 2013 Pro in my comp no old version so may be your old VS cause the problem ?

Hi,

A bug has been fixed which only affected VC Express edition builds. The fix for this can be found on GitHub here: https://github.com/EpicGames/UnrealEngine/commit/fc41da246e2f9a4b8b3e334a9a43f0d1ddbdc325

Sorry for the trouble. Please let me know if this fixes your problems.

Steve

Hi Steve, Thanks for responding. This will require me to build from source correct? Or will there be another hotfix released with this?

Hello can you please help me i have the same problem, but in the logs i get the following error message! What can i do with that? Thx

What I Use:

Windows 8
Visual Studio 2013 Professional
Windows SDK 8.1
UnrealEngine 4.4

UnrealBuildTool Exception: ERROR: NOTE: Please ensure that 64bit Tools are installed with DevStudio - there is usually an option to install these during install

Hi,

That’s not the same problem. I recommend re-posting this as a new question so that it can be dealt with separately and so others with the same problem can search for it more easily.

Steve

Hi,

Thank you. I created a new question!

Hi,
I have same problem. Uengine 4.4.2, VS Express 2013, Win 8.1 64bit…Reinstaling Visual studio and engine not solving this problem…

“Failed to generate code project files”

Does anyone know what to do?

Hi,

Which problem are you referring to? If it’s the ‘64bit Tools’ error, please see this other thread for a possible workaround:

Steve

No, my problem is that I can not create a new project with c ++ (templates)
Now I komplentně re-install the system on windows 7 (before windows 8.1)
downloaded and installed visual studio 2013 express for windows desktop, then installed the Unreal Engine 4 and downloaded version 4.4.2, after running the engine, I need to create a template fps c ++, but it writes: failed to generate code projects for “xxx” xxx = uproject file .

Blueprint examples work.

I really do not know what to do to make it work … help please

No one knows what to do? I would somehow like to start with the Unreal Engine and c ++.

Hi,

If your problem is unrelated to the one in this question (which was fixed in 4.4.2), then I would recommend creating a new question so that it can be dealt with more appropriately.

Steve

Hey Steve, I tried this on two computers now. The initial computer that had the problem still fails to create the c++ project. However, on a different computer it’s working fine with the same setup VS 2013 express and win 7 64bit. Any recommendations?

Hey,

I can’t open my project too when a new update comes up. This is what I do:

  • open your project in Visual Studio
  • right click on your project in the solution explorer
  • press Rebuild
  • wait…

This did the trick for me since the very first update.

I hope this helps!

Sincerely