[Daydream] 4.12 having both armv7 & arm64 support selected results in a build crash

I followed the instructions from: http://docs.unrealengine.com/latest/INT/Platforms/GoogleVR/QuickStart/index.html

which shows for setting up scanline the user being able to have both armv7 and arm64 checkboxes selected:

http://docs.unrealengine.com/latest/images/Platforms/GoogleVR/QuickStart/2/GVRQS_Build_arm64_Support_00.jpg

However if you do this and try to export you get the following build fail:

MainFrameActions: 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)
MainFrameActions: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 1.9533028s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): U:\UnrealEngine\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe myproject Android Development -Project="U:\UnrealEngine\MyProjects\myproject 4.12 - 2\myproject.uproject"  "..myproject.uproject"  -remoteini="U:\UnrealEngine\MyProjects\myproject 4.12 - 2" -noxge -generatemanifest -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool-2016.06.05-21.29.14.txt' 
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
MainFrameActions: 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
)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.UE4Buil
MainFrameActions: Packaging (Android (ATC)): d.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 InTargetToManifes
t)
MainFrameActions: Packaging (Android (ATC)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
MainFrameActions: Packaging (Android (ATC)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Android (ATC)):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: Packaging (Android (ATC)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ATC)): copying UAT log files...
MainFrameActions: Packaging (Android (ATC)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

This did not happen in the preview builds of 4.12

should armv7 be deselected when exporting for Daydream?

No infact I have been able to export in all formats. Make sure you you install the NVPack that is in the UE4.12 Extras folder even if you had in a previous build. Also make sure are telling it to rebuild each time. Finally test this with a ‘New Project’.

I have done several builds from the GitHub 4.12 preview and the latest 4.12 releases with many of you problems and these tips have always got me back on track. Sadly performing a Build and an Android Rebuild can add several hours to your app creation. :frowning:

Thanks for the reply mebalzer,

I just tried all those things and unfortunately the same error. I installed NVPack again from the 4.12 extras folder and it did indeed find some updates and restarted the pc - same error, so I tried with full rebuild - same problem. I then created a blank project and the same error with this project as well :frowning:

Wondering if I need to uninstall the old NVPack first?

Hey Aussieburger,

Sorry for the delay in getting to this one initially. With 4.12 I don’t see any reported bugs for this, but I was able to package using both of these in our internal build of 4.13 without any issue using the same Android SDK/NDK and project that would fail with 4.12.

This should be fixed once the next release comes out. Let me know if it’s still causing an issue and I can investigate from there.

Thank you!

Tim

Adding the public issues ticket for this that was recently entered since it’s also causing an issue with 4.13. You can follow the status there for the progress on this one.

I have the same error when I try to package a VR project with google VR but in my case is with version 4.14.1 of Unreal Engine.

It doesn’t let me to package with armv7 and arm64 together. Either you select armv7 or arm64 but never two both.

Is there any solution???

Thanks.

I too am having the same issue with 14.1 and I have also noticed noticed we are several GoogleVR SDK & NDK behind now. Also, Vulkan does not work in Daydream, not sure if even ES3.1 works since the build logs only show ES2.so

Hello,
thanks to mebalzer. the problem was that I switched Support OpenGL ES :


Make sure that you have turn off Support OpenGL ES3.1 in ettings for Adnroid. (See screen)


  1. If project won’t be packed try to add empty C++ class (for example, GameMode)
  2. If it still wont be packed, make sure, that you have succsessfully installed all tools for Android 24 API: Go to
    3.1 X:\NVPACK\android-sdk-windows and launch SDK manager.exe
    3.2 Make sure, that

SDK API 24 is fully installed (SDK Platform, Platform Tools,
SDK Tools, SDK build tools)
3.4 Make sure, that you have set-up your project for Daydream as described there https://docs.unrealengine.com/latest/INT/Platforms/GoogleVR/QuickStart/2/index.html