I’m trying to build a project (basic project with nothing really in it yet) using the Unreal Oculus branch 4.19, and the build is failing with this error:
UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: E:\UE4_Oculus_419\Engine\Plugins\Media\WmfMedia\Binaries\Win64\OculusIntegration-WmfMedia.lib
UATHelper: Packaging (Windows (64-bit)): Total build time: 626.55 seconds (Local executor: 0.00 seconds)
UATHelper: Packaging (Windows (64-bit)): Took 626.7542097s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): E:\UE4_Oculus_419\Engine\Binaries\DotNET\UnrealBuildTool.exe OculusIntegration Win64 Development -Project=F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject -NoUBTMakefiles -remoteini="F:\UNREAL_WORKING\Oculu
sIntegration" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.05.31-09.55.08.txt'
UATHelper: Packaging (Windows (64-bit)): (see E:\UE4_Oculus_419\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: UBT ERROR: Failed to produce item: E:\UE4_Oculus_419\Engine\Plugins\Media\WmfMedia\Binaries\Win64\OculusIntegration-WmfMedia.lib
PackagingResults: Error: Command failed (Result:5): E:\UE4_Oculus_419\Engine\Binaries\DotNET\UnrealBuildTool.exe OculusIntegration Win64 Development -Project=F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject -NoUBTMakefiles -remoteini="F:\UNREAL_WORKING\OculusIntegration" -skipdepl
oy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.05.31-09.55.08.txt'
PackagingResults: Error: Unknown Error
Here is the full trace from the UAT_Log.txt:
ERROR: Command failed (Result:5): E:\UE4_Oculus_419\Engine\Binaries\DotNET\UnrealBuildTool.exe OculusIntegration Win64 Development -Project=F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject -NoUBTMakefiles -remoteini="F:\UNREAL_WORKING\OculusIntegration" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.05.31-09.55.08.txt'
(see E:\UE4_Oculus_419\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
CommandFailedException: Command failed (Result:5): E:\UE4_Oculus_419\Engine\Binaries\DotNET\UnrealBuildTool.exe OculusIntegration Win64 Development -Project=F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject F:\UNREAL_WORKING\OculusIntegration\OculusIntegration.uproject -NoUBTMakefiles -remoteini="F:\UNREAL_WORKING\OculusIntegration" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.05.31-09.55.08.txt'
at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 923
at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 876
at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 52
at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 90
at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 369
at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTargetToManifest) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1505
at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 177
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 208
at BuildCookRun.ExecuteBuild() in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41
at AutomationTool.BuildCommand.Execute() in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 100
at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 557
at AutomationTool.Automation.Process(String[] Arguments) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 527
at AutomationTool.Program.MainProc(Object Param) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\Program.cs:line 132
at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 712
at AutomationTool.Program.Main() in E:\UE4_Oculus_419\Engine\Source\Programs\AutomationTool\Program.cs:line 62
==============================================================================
Anyone know what’s going on here?