UE 4.13 PackagingResults Unknown error with HTML5

hello there!

I’m fairly new to unreal and am experiencing a launch failure to HTML5.

I’ve tried launching to Nightly and Chrome.

The project launched fine from 4.12 but now fails in 4.13. Here’s the Output Log contents:

LogPlayLevel: Launcher Device ID: HTML5@C:/Program Files/Nightly/firefox.exe
LogPlayLevel: PlayLevel: No blueprints needed recompiling
LogCook:Display: Sandbox cleanup took 0.788 seconds
LogCook:Display: String asset reference resolve tried 1 did 0
LogRedirectors:Display: Timer ResolveTimeLoad 0.000000
LogRedirectors:Display: Timer ResolveTimeDelegate 0.000000
LogRedirectors:Display: Timer ResolveTimeTotal 0.001016
LogBlueprintCodeGen: GenerateStubs - all unconverted bp: 0, generated wrapers: 0
LogChunkManifestGenerator: Updated collection PackagesRemovedFromChunk0
LogChunkManifestGenerator: Chunk: 0, Started with 512 packages, Final after dependency resolve: 512
LogChunkManifestGenerator:Display: Saving asset registry.
LogChunkManifestGenerator:Display: Generated asset registry num assets 377, size is 316.09kb
LogChunkManifestGenerator:Display: Done saving asset registry.
LogCook:Display: Cook by the book total time in tick 0.000013s total time 1.865643
LogCook:Display: Peak Used virtual 1837 Peak Used phsical 1331
LogCook:Display: Hierarchy timer information
Name:  Length(ms)Root: 0.000000ms
GenerateLongPackageName: 0.065286ms
SavingAssetRegistry: 417.369340ms
IntStats
LoadPackage=19
SavedPackage=383
LogPlayLevel: Completed Launch On Stage: Cooking in the editor, Time: 0.000026
LogPlayLevel: Running AutomationTool...
LogPlayLevel: Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/candrew/Documents/Unreal Projects/ViewerApp_MASTER/ViewerApp_MASTER.uproject" BuildCookRun -project="C:/Users/candrew/Documents/Unreal Projects/ViewerApp_MASTER/ViewerApp_MASTER.uproject" -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompil
eeditor -installed -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=HTML5 -build -map=/Game/MASTER_LVL -skipcook -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline="/Game/MASTER_LVL -Messaging" -device="HTML5@C:/Program Files/Nightly/firefox.exe" -addcmdline="-SessionId=8A45EC494911C142510A59B284CF5270 -SessionOwner='candrew' -SessionName=
'Launch On Device' " -run
LogPlayLevel: Automation.Process: Setting up command environment.
LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\candrew\Documents\Unreal Projects\ViewerApp_MASTER\ViewerApp_MASTER.uproject
LogPlayLevel: Project.Build: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.005053
LogPlayLevel: CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game HTML5 Development   -remoteini="C:\Users\candrew\Documents\Unreal Projects\ViewerApp_MASTER" -noxge -generatemanifest -NoHotReload
LogPlayLevel: UnrealBuildTool: ERROR: No modules found to build. All requested binaries were already part of the installed engine data.
LogPlayLevel: CommandUtils.Run: Run: Took 1.035s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game HTML5 Development   -remoteini="C:\Users\candrew\Documents\Unreal Projects\ViewerApp_MASTER" -noxge -generatemanif
est -NoHotReload. See logfile for details: 'UnrealBuildTool-2016.10.31-10.34.10.txt'
LogPlayLevel:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel:    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel:    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
LogPlayLevel:    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
LogPlayLevel:    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)
LogPlayLevel:    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)
LogPlayLevel:    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
LogPlayLevel:    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:    at AutomationTool.BuildCommand.Execute()
LogPlayLevel:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:    at AutomationTool.Automation.Process(String[] Arguments)
LogPlayLevel:    at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel:    at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.500028
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error

Can anyone shed any light on this, please?

UPDATE:

I’ve now updated the engine to 4.13.2 and disabled the Substance Plugin. I’ve also altered the .uproject file so it doesn’t ask for the plugin.

That stopped the Build Fails however, now i get he message that Nightly can’t establish a connection with the server at the localhost.

Sooooo, any fresh help on this would be greatly appreciated.

Hi GreenBeams,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • Are you using Chrome or Chromium?
  • Which versions of Nightly and Chrome/Chromium are you using?
  • How are you launching/packaging to HTML5?
  • What steps can I take to reproduce this on my end?

Hey ,

thanks for your help! I can now launch to Nightly but am getting a whole new set of errors. I’m sure it’s Project specific as the previous build works fine. There are a few issues now that no longer resemble the original question anymore.

I’ll mark REMOVING SUBSTANCE PLUGIN and UPDATING as an answer to the original question and post a new question for the current issues.

Also, when i do, i’ll cover your questions, too =)