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, 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?