While packaging on 4.9 for HTML, AutomationTool crashes with this line:
ERROR: Exception in mscorlib: Directory '/Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/StagedBuilds/HTML5\Engine' not found.
All error messages with wrong folder names (TheMap is the project name):
- …/Saved/StagedBuilds/HTML5\Engine\
- …/Saved/StagedBuilds/HTML5\TheMap\Config
- …/Saved/StagedBuilds/HTML5\TheMap\
Full stack trace for first crash:
MainFrameActions: Packaging (HTML5): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (HTML5): Program.Main: ERROR: Exception in mscorlib: Directory '/Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/StagedBuilds/HTML5\Engine\' not found.
MainFrameActions: Packaging (HTML5): Stacktrace: at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List`1 all) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, SearchOption searchOption) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at HTMLPakAutomation.CreateEnginePak () [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at HTML5Platform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at Project.Package (AutomationTool.ProjectParams Params, Int32 WorkingCL) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): at BuildCommand.Execute () [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (HTML5): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
Hey ,
In order to better assist you, could you please provide the full error output as a .txt file? You can upload them to your next reply.
Thank you!
[Here is the latest log file.][1]
I’m also adding screen captures for packaging and html settings.
Hey,
Here is a list of warnings and errors found within your project. Please look over the error codes and which file they’re associated with. Once you’ve gone over these issues, please try to package again and provide me the if they pop up:
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:064][ 0]LogInit:Display: Warning/Error Summary
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:064][ 0]LogInit:Display: ---------------------
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:065][ 0]LogInit:Display: LogMaterial:Warning: Failed to compile Material /Engine/EngineDebugMaterials/MAT_LevelColorationLitLightmapUV.MAT_LevelColorationLitLightmapUV for platform GLSL_ES2_WEBGL, Default Material will be used in game.
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:065][ 0]LogInit:Display: LogMaterial:Warning: (Node LightmapUVs) Node not supported in feature level ES2
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:065][ 0]LogInit:Display: LogMaterial:Warning: Failed to compile Material /Engine/EditorMaterials/PreviewShadowIndicatorMaterial.PreviewShadowIndicatorMaterial for platform GLSL_ES2_WEBGL, Default Material will be used in game.
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:065][ 0]LogInit:Display: LogMaterial:Warning: (Node TextureSample) Node not supported in feature level ES2
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:065][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object 'Object /Engine/Tutorial/SubEditors/PersonaAnimEditorTutorial.PersonaAnimEditorTutorial_C'
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:066][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/MobileResources/HUD/VirtualJoystick_Thumb.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:066][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorResources/S_Actor.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:066][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Maps/Templates/Thumbnails/Default.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:066][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/ParticleSystems/PSysThumbnail_NoImage.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:066][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/ParticleSystems/PSysThumbnail_OOD.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:067][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorLandscapeResources/DataLayer.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:067][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineFonts/Roboto.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:067][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Translucent.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:067][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:067][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedUVs.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:068][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineResources/WhiteSquareTexture.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:068][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Functions/Engine_MaterialFunctions01/Shading/PowerToRoughness.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:068][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Functions/Engine_MaterialFunctions01/Shading/ConvertFromDiffSpec.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:068][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/WorldGridMaterial.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:068][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Functions/Engine_MaterialFunctions01/Opacity/CameraDepthFade.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:069][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/T_Default_Material_Grid_M.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:069][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/T_Default_Material_Grid_N.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:069][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/DefaultDeferredDecalMaterial.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:069][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/DefaultDiffuse.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:069][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/DefaultLightFunctionMaterial.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:070][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/DefaultPostProcessMaterial.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:070][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/Functions/Engine_MaterialFunctions02/Utility/BreakOutFloat2Components.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:070][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineResources/DefaultTexture.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:070][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Translucent_OneSided.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:070][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Opaque.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Opaque_OneSided.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Masked.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/Widget3DPassThrough_Masked_OneSided.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineDamageTypes/DmgTypeBP_Environmental.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMeshes/Sphere.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:071][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineFonts/RobotoDistanceField.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:072][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineMaterials/DefaultTextMaterialOpaque.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:072][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorResources/S_Trigger.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:072][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineResources/GradientTexture0.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:072][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EngineResources/Black.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:072][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Float.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:073][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Director.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:073][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Event.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:073][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Anim.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:073][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Fade.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:073][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Move.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:074][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_Slomo.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:074][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_ColorTrack.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:074][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MAT_Groups_Toggle.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:074][ 0]LogInit:Display: LogSavePackage:Warning: Finished SavePackage /Users// Drive/Live/Web/TheKid/unreal-engine/TheMap/Saved/Cooked/HTML5/Engine/Content/EditorMaterials/MatineeGroups/MAT_Groups_AudioMaster.uasset
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:075][ 0]LogInit:Display: NOTE: Only first 50 warnings displayed.
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:075][ 0]LogInit:Display:
MainFrameActions: Packaging (HTML5): UE4Editor: [2015.09.11-19.09.27:075][ 0]LogInit:Display: Success - 0 error(s), 356 warning(s)
Those are all cooking errors for engine and/or UE4 related things, has nothing to do with my project. They appear even in an empty project export.
I think I did not make the bug clearer. When exporting to HTML5, I can do it from Project Launcher. Everything gets exported and works.
But when I try to File > Package Project > HTML, those wrong folder names appear and packaging fails.
In the source code, I can see that most of the code for html5 exporting has no operating system checks for adding slashes. Other cooking and packaging (IOS, Android, OSX) has something like “if win use \ else use /” like code all over. Check this out:
[link text][1]
https://github.com/EpicGames/UnrealEngine/blob/311e18ff369078e192a83f27834b45bdb288168a/Engine/Source/Programs/AutomationTool/HTML5/HTML5Platform.PakFiles.Automation.cs#L96
Hey,
Thanks for clarifying your issue. I have packaged a project on OSX and have not ran into this complication. I have requested a developer look over the and to provide some additional information.
Have you tried creating a project on your desktop and seeing whether or not it packaged for HTML5 in the correct folders on your desktop? It could very well be the file location.
Thank you!
Thanks for the reply.
That was the first think I tried.
I tried opening a new project in the default location (Documents folder). And was careful for not adding any spaces to the name, cause sometimes they were causing problems with previous 4.8 version for me. But, the error still appears when I’m trying to package for HTML, even an empty project has this problem. Project Launcher is ok, file > packaging buggy…
PS: Currently this is not an extremely important bug, as I can cook and export for shipment from Project Launcher.
PSS: I’ll also try 4.9 on another mac in here and see if it has the same problem. Also will migrate the content to another project (on another mac) and will try again. Will let you know…
Hey,
Thank you for all of the information that you have provided. We have verified that enabling ‘download maps on the fly’ is causing the issue. There is a submitted, which is: UE-20141
In order to get around this issue, try disabling ‘download maps on the fly’ and let us know whether or not it has worked for you.
Thanks!
Hi ,
Thanks for the reply.
I can confirm that disabling the download maps, and removing all level transitions settings solved the problem.