x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

When I build for GearVR Android ASTC, it fails with ExitCode=5

When I build for Gear VR Android ASTC, it fails with ExitCode=5. My co-workers can all build this without problems. I can build other projects just fine, this project is the only one erroring out. I'd appreciate any help thank you.

This is my output log.

 H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/Content/Maps/map_Test_Dan_BuiltData.uasset H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/Content/Maps/map_Test_Justin2.umap H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/Content/Maps/map_Test_Justin2_BuiltData.uasset'
 LogSlate: Took 0.000183 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (159K)
 LogSlate: Took 0.000181 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K)
 LogAIModule: Creating AISystem for world map_master
 LogMaterial:Warning: Material /Game/Trees/Elm/American_Elm_Mobile_Branches_2_Mat.American_Elm_Mobile_Branches_2_Mat needed to have new flag set bUsedWithStaticLighting !
 LogMaterial: Missing cached shader map for material American_Elm_Mobile_Branches_2_Mat, compiling. 
 MapCheck:Warning: Warning American_Elm_Mobile_Branches_2_Mat Material /Game/Trees/Elm/American_Elm_Mobile_Branches_2_Mat.American_Elm_Mobile_Branches_2_Mat was missing the usage flag bUsedWithStaticLighting. If the material asset is not re-saved, it may not render correctly when run outside the editor. Fix
 Cmd: MAP LOAD FILE="H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/Content/Maps/map_master.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
 LightingResults: New page: Lighting Build
 LoadErrors: New page: Loading map: map_master.umap
 MapCheck: New page: Map Check
 LightingResults: New page: Lighting Build
 LogEditorServer: Finished looking for orphan Actors (0.000 secs)
 Cmd: MAP CHECKDEP NOCLEARLOG
 MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 71.562ms to complete.
 LogFileHelpers: Loading map 'map_master' took 0.211
 UATHelper: Packaging (Android (ASTC)): Running AutomationTool...
 UATHelper: Packaging (Android (ASTC)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/project_Mobile.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/project_Mobile.uproject" -cook -stage
  -archive -archivedirectory="H:/Artwork/UE4 Builds/company Outdoor Test" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -targetplatform=Android -cookflavor=ASTC -build -utf8output
 UATHelper: Packaging (Android (ASTC)): BuildCookRun.SetupParams: Setting up ProjectParams for H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.uproject
 UATHelper: Packaging (Android (ASTC)): Project.Build: ********** BUILD COMMAND STARTED **********
 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: F:\Program Files (x86)\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealSDK_GearVR Android Development -Project="H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.uproject"  "H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.upro
 ject" -NoUBTMakefiles  -remoteini="H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile" -noxge -generatemanifest -NoHotReload
 LogSlate: Took 0.017371 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf' (77K)
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: NDK version: 19, GccVersion: 4.9
 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 2.6667468s to run UnrealBuildTool.exe, ExitCode=0
 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: F:\Program Files (x86)\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealSDK_GearVR Android Development -Project="H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.uproject"  "H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.upro
 ject" -NoUBTMakefiles  -remoteini="H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile" -noxge -NoHotReload -ignorejunk
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: NDK version: 19, GccVersion: 4.9
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Parsing headers for UnrealSDK_GearVR
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool:   Running UnrealHeaderTool "H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.uproject" "H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\Intermediate\Build\Android\UnrealSDK_GearVR\Development\UnrealSDK_GearVR.uhtmanifest" -LogCmds="loginit warning, logexit warning, lo
 gdatabase error" -Unattended -WarningsAsErrors -installed
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Reflection code generated for UnrealSDK_GearVR in 7.8920426 seconds
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Compiling Native code with NDK API 'android-19'
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Performing 9 actions (9 in parallel)
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [4/9] clang++.exe UnrealSDK_GearVRGameMode.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [1/9] clang++.exe PCH.UELinkerFixups.h [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [7/9] clang++.exe UnrealSDK_GearVR.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [5/9] clang++.exe UnrealSDK_GearVRHUD.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [2/9] clang++.exe UnrealSDK_GearVRCharacter.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [3/9] clang++.exe UnrealSDK_GearVR.generated.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [6/9] clang++.exe UnrealSDK_GearVRProjectile.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [8/9] clang++.exe UELinkerFixups.cpp [armv7-es2]
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [9/9] clang++.exe UnrealSDK_GearVR-armv7-es2.so
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: F:/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: fatal error: H:/DEV/depot/dev/VRPlatform/Unreal Games/project_Mobile/Binaries/Android/UnrealSDK_GearVR-armv7-es2.so: open: Permission de
 nied
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
 UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Total build time: 76.96 seconds (Local executor: 42.22 seconds)
 UATHelper: Packaging (Android (ASTC)): CommandUtils.Run: Run: Took 77.1910264s to run UnrealBuildTool.exe, ExitCode=5
 UATHelper: Packaging (Android (ASTC)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): F:\Program Files (x86)\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealSDK_GearVR Android Development -Project="H:\DEV\depot\dev\VRPlatform\Unreal Games\company_Re
 hab_Mobile\project_Mobile.uproject"  "H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile\project_Mobile.uproject" -NoUBTMakefiles  -remoteini="H:\DEV\depot\dev\VRPlatform\Unreal Games\project_Mobile" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.12.04-17.52.23.txt' 
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Android (ASTC)):    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)
 UATHelper: Packaging (Android (ASTC)):    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, Dictiona
 ry`2 InTargetToManifest)
 UATHelper: Packaging (Android (ASTC)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 UATHelper: Packaging (Android (ASTC)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 UATHelper: Packaging (Android (ASTC)):    at BuildCookRun.ExecuteBuild()
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.Automation.Process(String[] Arguments)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.Program.MainProc(Object Param)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 UATHelper: Packaging (Android (ASTC)):    at AutomationTool.Program.Main()
 UATHelper: Packaging (Android (ASTC)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 UATHelper: Packaging (Android (ASTC)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error
Product Version: UE 4.16
Tags:
more ▼

asked Dec 05 '17 at 02:05 PM in Packaging & Deployment

avatar image

crazy
1

avatar image Jin_VE Dec 05 '17 at 02:11 PM

"See logfile for details: 'UnrealBuildTool-2017.12.04-17.52.23.txt'" <-- try to find that. It might have more info.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question