Packaging stuck(html5)

I was packaging a small project for html5.

I have installed everything according to this page.

Though I have a question, I have installed emscripten from the SDK and not from the github and used the fastcomp. My packaging get stuck and is not proceeding any further even after a few hours.

MainFrameActions: Packaging (HTML5): UnrealBuildTool: Performing 176 actions (2 in parallel)
MainFrameActions: Packaging (HTML5): UnrealBuildTool: [1/176] python.exe Module.Paper2D.cpp
MainFrameActions: Packaging (HTML5): UnrealBuildTool: [2/176] python.exe Paper2D.generated.cpp
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from D:/Unreal Engine Launcher/4.7.8.1/Engine/Plugins/2D/Paper2D/Intermediate/Build/HTML5/SpinningTopTest/Inc/Paper2D/Paper2D.generated.cpp:8:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from ../Plugins/2D/Paper2D/Source/Paper2D/Private/Paper2DPrivatePCH.h:8:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Public/Engine.h:22:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Public/EngineMinimal.h:13:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Classes/GameFramework/Actor.h:5:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Classes/Components/SceneComponent.h:4:
MainFrameActions: Packaging (HTML5): UnrealBuildTool:   D:\Unreal Engine Launcher\4.7.8.1\Engine\Source\Runtime\Engine\Classes\Components\ActorComponent.h(32,2): warning: '_getUObject' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/Engine/Classes/Components/ActorComponent.h:32:2: warning: '_getUObject' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
MainFrameActions: Packaging (HTML5): UnrealBuildTool:         GENERATED_BODY()
MainFrameActions: Packaging (HTML5): UnrealBuildTool:         ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:535:29: note: expanded from macro 'GENERATED_BODY'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define GENERATED_BODY(...) BODY_MACRO_COMBINE(CURRENT_FILE_ID,_,__LINE__,_GENERATED_BODY)
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                             ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:532:37: note: expanded from macro 'BODY_MACRO_COMBINE'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                                     ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:531:43: note: expanded from macro 'BODY_MACRO_COMBINE_INNER'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B##C##D
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                                           ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: <scratch space>:104:1: note: expanded from here
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from D:/Unreal Engine Launcher/4.7.8.1/Engine/Plugins/2D/Paper2D/Intermediate/Build/HTML5/SpinningTopTest/Development/Paper2D/Module.Paper2D.cpp:2:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from D:/Unreal Engine Launcher/4.7.8.1/Engine/Plugins/2D/Paper2D/Source/Paper2D/Private/GroupedSpriteSceneProxy.cpp:3:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from D:/Unreal Engine Launcher/4.7.8.1/Engine/Plugins/2D/Paper2D/Source/Paper2D/Private/Paper2DPrivatePCH.h:8:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Public/Engine.h:22:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Public/EngineMinimal.h:13:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Classes/GameFramework/Actor.h:5:
MainFrameActions: Packaging (HTML5): UnrealBuildTool: In file included from Runtime/Engine/Classes/Components/SceneComponent.h:4:
MainFrameActions: Packaging (HTML5): UnrealBuildTool:   D:\Unreal Engine Launcher\4.7.8.1\Engine\Source\Runtime\Engine\Classes\Components\ActorComponent.h(32,2): warning: '_getUObject' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/Engine/Classes/Components/ActorComponent.h:32:2: warning: '_getUObject' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
MainFrameActions: Packaging (HTML5): UnrealBuildTool:         GENERATED_BODY()
MainFrameActions: Packaging (HTML5): UnrealBuildTool:         ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:535:29: note: expanded from macro 'GENERATED_BODY'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define GENERATED_BODY(...) BODY_MACRO_COMBINE(CURRENT_FILE_ID,_,__LINE__,_GENERATED_BODY)
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                             ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:532:37: note: expanded from macro 'BODY_MACRO_COMBINE'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                                     ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: Runtime/CoreUObject/Public/UObject/ObjectBase.h:531:43: note: expanded from macro 'BODY_MACRO_COMBINE_INNER'
MainFrameActions: Packaging (HTML5): UnrealBuildTool: #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B##C##D
MainFrameActions: Packaging (HTML5): UnrealBuildTool:                                           ^
MainFrameActions: Packaging (HTML5): UnrealBuildTool: <scratch space>:104:1: note: expanded from here

Hey Evenger,

In order to assist you better, would you please provide me the full logs as a .txt file attached to your next reply. Please provide me the steps that you used to package your project and also whether or not it was a plain template from the editor or a modified one.

Thank you!

Hey Evenger,

I have not heard from you since your initial post and for that reason, I must mark this post as resolved at this time. However, if you’re still running into trouble with this specific question, do not hesitate in asking for additional assistance. Once you post back on this thread, it will open back up and we’ll assist you further.

Thank you and have a nice day!

Hi Samantha,

I am experiencing the exact same issue. The editor hangs during HTML5 packaging.

UnrealBuildTool.exe was was using 95% or more of CPU (i.e. as much as it could get). The editor became unusable (frozen) until I killed the UBT process.

I’ve attached my log. The last line is where it stopped.

I tried waiting about 30 minutes, still stuck on the same point.

The project I tested packages fine for Windows and Android.

I’m using Emscriptem 1.34.1, and Windows 8.1 64 bit.

link text

Hey Ixiguis,

Have you tried downgrading your emscripten to 1.29? If not, please do so at this time and run through the same process. If you’re still running into the error, please provide us with updated logs so that we can assist you further.

Thank you and have a great day!

Progress! Didn’t freeze with 1.29, but still failed. Log:

link text

Nevermind. I tried packaging in Development instead of Shipping, and it worked. Then I tried Shipping again, and it worked this time.

Great, I’m glad that you were able to figure this out on your own. Please let us know if you have any further questions. Have a great day!