GenerateProjectFiles ERROR:UnrealBuildTool was unable to generate project files

hi,

i just downloaded the unreal engine 4 source code and the dependencies, i extracted them all to the same location, put them into each other and ran the batch file and i get this message:

5005-ue+4+error.png

please help, thanks :slight_smile:

@mkdewidar

We apologize for the lack of follow up on this issue. Do you have any update on it? Is the problem still occurring for you, or were you able to find a solution?

Definitely please let us know if you were never able to get the editor to run, and we will be glad to investigate or discuss our options with you.

We are marking this as “resolved” for tracking purposes, unless we hear back from you.

Thanks

I’m actually still getting the error but I’ve given up, it seems that coding in general sea to have a problem with my laptop cause I can’t get anything coding related to work.

We would like to help get this resolved for you. Obviously not being able to perform any coding is rather limiting and not how the engine is intended to utilized.

There is some information we will need to help us get started with looking into this.

  • What version of UE4 are you currently using?
  • Have you downloaded the correct dependencies for the UE4 version being used?
  • What version of Windows are you using?
  • What version of Visual Studio are you using?
  • Are you still receiving the exact same error message?

Thanks!

Hi ,I have this same problem,So I closed my anti-virus software(Avast),then try again it can be generated.

sorry its been a while since i’ve answered, there have been some…complications on my end XD

i wanted to point out something maybe it would help: the files that i have on the laptop that i’m having problems from are actually copied from my desktop computer, could that be related to the problem? maybe cause i don’t have github installed?

to answer your questions:
currently i moved to 4.3, downloaded all 2 dependencies plus optional and release, windows 7 home, visual studio 2013 express (had visual studio 2012 before it maybe it wasn’t removed well?), yes i am receiving the same message.

its not that big of a deal, i’m not exactly a programmer in the first place :slight_smile:

Hi mkdewidar,

Not having GitHub installed on your laptop should not cause any problems. The Engine does not require the GitHub client to be present.

Have you tried disabling your antivirus software when trying to build the Engine? Some antivirus software will sometimes throw a false-positive flag with some of the Engine elements.

I dunno what’s the reason exactly but I downloaded version 4.2 and build worked just like magic. however now compiling gives me these 5 errors and 3 warnings:

Warning	1	warning MSB3088: Could not read state file "obj\Development\UnrealBuildTool.csprojResolveAssemblyReference.cache". The process cannot access the file 'H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Source\Programs\UnrealBuildTool\obj\Development\UnrealBuildTool.csprojResolveAssemblyReference.cache' because it is being used by another process. [H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]	C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets	1635	5	UnrealLaunchDaemon

Error	2	error : UnrealLaunchDaemon does not support the Win64 platform.	H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Intermediate\ProjectFiles\EXEC	UnrealLaunchDaemon

Error	3	error MSB3073: The command "..\..\Build\BatchFiles\Rebuild.bat UnrealLaunchDaemon Win64 Development" exited with code 1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	43	5	UnrealLaunchDaemon

Warning	4	warning MSB3088: Could not read state file "obj\Development\UnrealBuildTool.csprojResolveAssemblyReference.cache". The process cannot access the file 'H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Source\Programs\UnrealBuildTool\obj\Development\UnrealBuildTool.csprojResolveAssemblyReference.cache' because it is being used by another process. [H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]	C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets	1635	5	ShaderCompileWorker

Error	5	error C1081: 'h:\game develpoment\unreal_engine_4.1_final\unreal_engine_4\unrealengine-4.1\engine\plugins\runtime\exampledeviceprofileselector\intermediate\build\win64\static\ue4game\development\exampledeviceprofileselector\Runtime\Engine\Classes\Engine\LatentActionManager.h': file name too long	H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h	5	1	UE4

Error	6	error : Failed to produce item: H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Plugins\Runtime\ExampleDeviceProfileSelector\Binaries\Win64\UE4Game-ExampleDeviceProfileSelector-Static.lib	H:\Game develpoment\Unreal_Engine_4.1_Final\Unreal_Engine_4\UnrealEngine-4.1\Engine\Intermediate\ProjectFiles\ERROR	UE4

Error	7	error MSB3073: The command "..\..\Build\BatchFiles\Rebuild.bat UE4Game Win64 Development" exited with code 1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	43	5	UE4

Warning	8	The referenced component 'RPCUtility' could not be found. 	iPhonePackager

Just a quick check, are you building version 4.2 of the Engine when you see these error messages? I notice the filepaths in some of the error messages refer to 4.1.

EXEC : GenerateProjectFiles error : A valid version of Visual Studio does not appear to be installed.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: 命令““E:\Epic Games\4.12\Engine\Build\BatchFiles\Rebuild.bat” Start_1Editor Win64 Development “E:\Project\Start_1\Start_1.uproject” -waitmutex”已退出,代码为 -1。

Everybody encountered such a problem?