UnrealBuildTool not found

When I use the service to rebuild the XCode project (rebuild is needed when files have been added), the GenerateProjectFiles.sh responds with:

Setting up Unreal Engine 4 project files…
MSBUILD: error MSBUILD0000: Project file ‘…/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj’ not found.

Just create a blank C++ project and try out.
I’m having some other problems with the sync of files, for example not finding my GameInstance and I’m not sure, if its related to this error.

Hey rotwang-

What exactly do you mean by “using the service to rebuild…”? When I create a new project and add a code class based on actor, I can then build the project solution in XCode pressing the play button successfully. Can you provide any additional information on what exactly you’re doing after creating a new blank C++ project?

Hey ,
These are the steps:

  1. Create a new C++ Basic project
  2. Use Finder to copy some source files
    to the project
  3. Right-click in Finder on the .uproject, from the menu
    select Services->Generate XCode Project

The terminal shows:

MSBUILD: error MSBUILD0000: Project
file
‘…/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj’
not found. Discovering modules,
targets and source code for project…
Generating data for project
indexing… 100% Writing project
files… 100% iMac4:Mac frank$

I just tried this with a fresh update of 4.12.2

I can confirm, that …/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj doesn’t exist on my machine.

I still have trouble with the build. I need to manually delete binaries and intermediates, otherwise the engine is ignoring my modified project and loads an older version.

I’m not using XCode clean any more, because as other’s have confirmed, that will destroy the engine install and would need a Verify.

Thank you, I didn’t realize you were doing this from the project directory. I have entered a bug report for the failed update to the XCode project, UE-31863 , for further investigation.

Cheers

The error still exists in 4.12.5:

Setting up Unreal Engine 4 project files…

MSBUILD: error MSBUILD0000: Project file ‘…/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj’ not found.
Discovering modules, targets and source code for project…
Generating data for project indexing… 100%
Writing project files… 100%
imac4:Mac frank$

Hey rotwang-

The bug report entered is still open in our internal system. I have added an additional note that this issue is still affecting the community.

The bug is far less serious than it looks - the project is generated correctly. GenerateProjectFiles script prints the error that it couldn’t build UnrealBuildTool, but then it carries on and uses UnrealBuildTool that we distribute with the engine. The error will be gone in 4.13.

Guys, it doesn’t actually generate any project files at all. We are unable to build / package our project or run it at all?

Hey -

This post was specifically related to Services->Generate XCode Project failing with the error provided by rotwang. If you’re having issue packaging your project, it may be best to create a new post with as much detailed information as possible.

Hi , I’ve posted here:

Ignore me… we’ve fixed it.

Dammit perforce.