Description

Unable to package a build for android (ATC) if the GoogleVR plugin is enabled and both arm64 and armv7 are supported.

This does not reproduce if you turn off GoogleVR.
This does not reproduce if you disable armv7 prior to packaging for arm64.

Found on: 4.13.0 Binary CL-3104890

Log excerpt:

[2016.08.30-23.04.18:121][969]UATHelper: Packaging (Android (ATC)): Running AutomationTool...
[2016.08.30-23.04.18:322][993]UATHelper: Packaging (Android (ATC)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="D:/D Unreal Projects/MyProject11/MyProject11.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="D:/D Unreal Projects/MyProject11/MyProject11.uproject" -cook -stage -archive -archivedirectory=C:/Users/patrickr.donovan/Desktop/Packages/geg -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ATC -build -CrashReporter -utf8output
[2016.08.30-23.04.18:322][993]UATHelper: Packaging (Android (ATC)): Automation.Process: Setting up command environment.
[2016.08.30-23.04.18:480][ 12]UATHelper: Packaging (Android (ATC)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\D Unreal Projects\MyProject11\MyProject11.uproject
[2016.08.30-23.04.18:805][ 51]UATHelper: Packaging (Android (ATC)): Project.Build: ********** BUILD COMMAND STARTED **********
[2016.08.30-23.04.18:823][ 53]UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: D:\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject11 Android Development -Project="D:\D Unreal Projects\MyProject11\MyProject11.uproject"  "D:\D Unreal Projects\MyProject11\MyProject11.uproject"  -remoteini="D:\D Unreal Projects\MyProject11" -noxge -generatemanifest -NoHotReload
[2016.08.30-23.04.19:080][ 84]UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Performing full C++ include scan (building a new target)
[2016.08.30-23.04.19:364][118]UATHelper: Packaging (Android (ATC)): UnrealBuildTool: NDK version: 21, GccVersion: 4.9
[2016.08.30-23.04.19:364][118]UATHelper: Packaging (Android (ATC)): UnrealBuildTool: building WITHOUT VULKAN define
[2016.08.30-23.04.19:373][119]UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
[2016.08.30-23.04.19:548][140]UATHelper: Packaging (Android (ATC)): UnrealBuildTool: ERROR: Attempted to use UEBuildBinaryConfiguration.OutputFilePath property, but there are multiple (or no) OutputFilePaths. You need to handle multiple in the code that called this (size = 2)
[2016.08.30-23.04.19:656][153]UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 0.8330833s to run UnrealBuildTool.exe, ExitCode=5
[2016.08.30-23.04.19:664][154]UATHelper: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): D:\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject11 Android Development -Project="D:\D Unrea
[2016.08.30-23.04.19:664][154]UATHelper: Packaging (Android (ATC)): l Projects\MyProject11\MyProject11.uproject"  "D:\D Unreal Projects\MyProject11\MyProject11.uproject"  -remoteini="D:\D Unreal Projects\MyProject11" -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2016.08.30-16.04.18.txt' 
[2016.08.30-23.04.19:664][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    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)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    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)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
[2016.08.30-23.04.19:665][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.BuildCommand.Execute()
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.Automation.Process(String[] Arguments)
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.Program.MainProc(Object Param)
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)):    at AutomationTool.Program.Main()
[2016.08.30-23.04.19:666][154]UATHelper: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
[2016.08.30-23.04.19:674][155]UATHelper: Packaging (Android (ATC)): BUILD FAILED
[2016.08.30-23.04.19:675][155]PackagingResults:Error: Error Unknown Error
Steps to Reproduce
  1. Open UE4Editor.exe
  2. Make a new first person blueprint template project
    1. Mobile/Tablet
    2. Scalable 3D or 2D
    3. No starter content
  3. Window > Plugins > Virtual Reality: Enable GoogleVR
    1. Restart when prompted
  4. Edit > Project Settings > Android
    1. Configure now if needed
    2. Enable Support arm64 under Build
  5. File > Package > Android > ATC

Result:

UnrealBuildTool: ERROR: Attempted to use UEBuildBinaryConfiguration.OutputFilePath property, but there are multiple (or no) OutputFilePaths. You need to handle multiple in the code that called this (size = 2)

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-35351 in the post.

12
Login to Vote

Won't Fix
ComponentVirtual Reality
Affects Versions4.13
Target Fix4.17
CreatedAug 30, 2016
ResolvedJun 21, 2017
UpdatedApr 27, 2018