4.10.1 can't build binaries

I’m having trouble with the new 4.10 hotfix (4.10.1)

After updating to 4.10.1 I can no longer build my project (it has C++)

I have deleted binaries folder, saved folder, intermediate folder and all other things that can be rebuilt. The project can neither build binaries nor even generate project files.

When building binaries (double clicking the .uproject file): I get stuck at the message

Running C:/Program Files/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/admin/Documents/Lost Echoes/LostEchoes.uproject" -game -rocket -progress
Discovering modules, targets and source code for game...

When generating project files I get:

 Parsing headers for MyProjectEditor
   Running UnrealHeaderTool "C:/Users/admin/Documents/MyProject/MyProject.uproject" "C:\Users\admin\Documents\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed

The issue can be reproduced on a brand new project as well:

Method 1: Create a new blueprint project using 4.10.1, then add a C++ class to the project and the engine will stall and never create the source files.

Method 2: Create a new C++ project and the engine will just stall and never create the project. The status of the window where it stalled is 90% saying “Generating project files…” and “Binding IntelliSense data”

It’s as if 4.10.1 can’t work with project that have C++.

Related post: Can't open 4.10 project with 4.10.1 - Platform & Builds - Epic Developer Community Forums

I tried running my project by first opening the engine instead of double-clicking the .uproject file and it doesn’t work like it did for the person that wrote that post above

Unsuccessfully attempted solutions:

  • Restarted launcher
  • Restarted machine
  • Uninstalled vs2013 to only leave vs2015 installed
  • Clicked Verify in the launcher
  • Tried another machine (same exact issues on the other machine)

Thank you for your time.

Hey -

What message do you get if you try to build the project / run Generate Project Files? Are you able to open a project in Debug mode through Visual Studio? If not do you get the same error messages?

Cheers

I am having the same issue. When I try to build binaries for my project it hangs at the following line in the log

Parsing headers for MyProjectEditor
  Running UnrealHeaderTool "C:/Users/admin/Documents/MyProject/MyProject.uproject" "C:\Users\admin\Documents\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed

I run in to the same issues when trying to create a new C++ project or add a C++ class to a previously blueprint only project.

I updated the post with more info. It basically gets stuck on UnrealHeaderTool

Neither of the messages appear to be error messages. Is the project actually failing to open or just hanging when you attempt to open it?

Can you try deleting the Binary, Intermediate, and Source folders as well as the .sln and .suo files from the project director and then right click on the .uproject and Generate Visual Studio project files (GVS). Once that completes you should be able to open the .sln (will be recreated after running GVS) and build the project again.

If it helps, I am having the same issue and the problem doesn’t have anything to do with opening the project. The problem is that when compiling either with the editor or with the visual studio plugin the process never gets past the “Running UnrealHeaderTool …” step mentioned above.

Yes I deleted every one of those things you mentioned except the source folder. If I did that it would be like ripping out half my project.

But after you mentioned it I tried it anyways and I get the message: “This project does not have any source code. You need to add C++ source files to the project from the Editor before you can generate project files.”

And yes like you say, the messages are not error messages. Everything so far is stalling/hanging (aka errors with no error messages)

Could you try to reproduce it with the steps on my original post:

  • Make a brand new C++ project from a template using 4.10.1 and see if it even finishes.

Same issue! Just update to UE 4.10.1 Building project stuck at:

CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UnrealPak.exe “C:\Users\Boyare\Documents\Unreal Projects\TheTaffer\Saved\StagedBuilds\WindowsNoEditor\TheTaffer\Content\Paks\TheTaffer-WindowsNoEditor.pak” -create=“C:\Users\Boyare\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+4.10\PakList_TheTaffer-WindowsNoEditor.txt” -installed -order=“C:\Users\Boyare\Documents\Unreal Projects\TheTaffer\Build\WindowsNoEditor\FileOpenOrder\CookerOpenOrder.log” -UTF8Output

Using blueprints.

Hey Mastodon-

I have to apologize for not catching my typo in my last message. I meant to say the Saved folder rather than the Source folder. I have tried to create a new project which was able to build successfully and open in VS and the editor. Likewise I was able to add code to a blueprint project which compiled successfully.

My issue is now fixed after deleting those folders and regenerating the solution files. For reference my project was a 4.10.0 project that I was unable to compile after updating to the 4.10.1 editor.

The issue was mysteriously fixed today. I didn’t try anything different. I just ran the project and this time it was able to build without any problems. I deleted all the files and folders you mentioned, but yesterday I was deleting the same files too. Very strange

Well the issue seems fixed for now. Thank you for your help.

Cheers