I was trying to compile my game, I’ve renamed the project, changed the directory, disabled installed plugins, tried packaging to multiple drives. I don’t know whats going on? It cooks the data fine.
Project.Build: ********** BUILD COMMAND STARTED **********
UE4Build.Build: ************************* UE4Build:
UE4Build.Build: ************************* UseXGE: False
UE4Build.Build: ************************* UseParallelExecutor: False
InternalUtils.SafeFileExists: SafeFileExists F:\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe=True
InternalUtils.SafeDeleteFile: SafeDeleteFile F:\FPSGame1\Intermediate\Build\Manifest.xml
InternalUtils.SafeFileExists: SafeFileExists F:\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe=True
CommandUtils.Run: Running: F:\UE_4.22\Engine\Binaries\DotNET\UnrealBuildTool.exe FPSGame Win64 Development -Project=F:\FPSGame1\FPSGame.uproject F:\FPSGame1\FPSGame.uproject -NoUBTMakefiles -remoteini=“F:\FPSGame1” -skipdeploy -Manifest=F:\FPSGame1\Intermediate\Build\Manifest.xml -NoHotReload -log=“C:\Users\owen_\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-FPSGame-Win64-Development.txt”
ProcessResult.StdOut: While compiling F:\FPSGame1\Intermediate\Build\BuildRules\FPSGameModuleRules.dll:
ProcessResult.StdOut: f:\FPSGame1\Intermediate\Source\FPSGame.Build.cs(3,14) : error CS0101: The namespace ‘’ already contains a definition for ‘FPSGame’
ProcessResult.StdOut: ERROR: Unable to compile source files.
CommandUtils.Run: Took 0.531484s to run UnrealBuildTool.exe, ExitCode=5
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\owen_\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-FPSGame-Win64-Development.txt)
Log.WriteException: (see C:\Users\owen_\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\Log.txt for full exception trace)
Log.WriteException:
Log.WriteException: AutomationException: UnrealBuildTool failed. See log for more details. (C:\Users\owen_\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_4.22\UBT-FPSGame-Win64-Development.txt)
Log.WriteException: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 52
Log.WriteException: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, UnrealTargetPlatform Platform, UnrealTargetConfiguration Config, String AdditionalArgs) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 89
Log.WriteException: at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, UnrealTargetConfiguration Config, FileReference UprojectPath, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 213
Log.WriteException: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InShowProgress, Nullable
1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1057 Log.WriteException: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 212 Log.WriteException: at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 208 Log.WriteException: at BuildCookRun.ExecuteBuild() in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41 Log.WriteException: at AutomationTool.BuildCommand.Execute() in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 242 Log.WriteException: at AutomationTool.Automation.Execute(List
1 CommandsToExecute, Dictionary2 Commands) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 545 Log.WriteException: at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 515 Log.WriteException: at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 162 Log.WriteException: at AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 88 Log.WriteException: at AutomationTool.InternalUtils.RunSingleInstance(Func
1 Main) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 725
Log.WriteException: at AutomationTool.Program.Main(String[] Arguments) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 88
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=5 (5)