# UE4 Doesn't package nor launch html5

**URL:** <https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852>\
**Category:** Platform & Builds\
**Tags:** launch-error, HTML5, unreal-engine, package-error, UE4, Blueprint, question\
**Created:** [September 28, 2016, 8:16am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852 "2016-09-28T08:16:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bonorose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bonorose](https://forums.unrealengine.com/u/Bonorose)\
**Post date:** [September 28, 2016, 8:16am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/1 "2016-09-28T08:16:39Z")

</div>

Hello,

Recently I have decided on trying to move one of my projects to HTML5, so that it can be used on our company site.  
Before doing anything more I just did a new project, blank blueprint /w starter, removed the chairs and setup a basic box for a floor.

When packaging, both /w and without the chairs, table, etc. after waiting for 5-10 minutes it finishes and in the designated folder I can see a HTML5 subfolder created, but no files whatsoever, 0bytes.

I also tried launching it. Didn’t work, here’s the log. Both packaging and launching got me unknown errors.  
Version: Standard 4.11.2 /w editing symbols.

Thank you,  
Bonorose

* * *

[link text][1]

[108743-output+log.txt](https://forums.unrealengine.com/uploads/short-url/fCm2ufsGOMg3xjhSmYD4p27LAgi.txt) (516 KB)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [September 28, 2016, 9:25pm UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/2 "2016-09-28T21:25:45Z")

</div>

Bonorose,

```
LogPlayLevel: CommandEnvironment.SetupBuildEnvironment: WARNING: ERROR: NOTE: Please ensure that 64bit Tools are installed with DevStudio - there is usually an option to install these during install
LogPlayLevel: CommandEnvironment.SetupBuildEnvironment: WARNING: Assuming no compilation capability.

```

This sounds like an issue we saw quite a few version ago. Please check out this [AnswerHub post][1] and see whether or not the suggestion fixes the issue.

If that does not work, install 4.12.5 or 4.13 and see if you’re still having HTML5 complications.

Thank you!

[Upgraded to Engine Version 4.4.2, 64 Bit Tools are not installed - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/96455/upgraded-to-engine-version-442-64-bit-tools-are-no.html)

---

<div class="post-metadata">

**Author:** ![Bonorose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bonorose](https://forums.unrealengine.com/u/Bonorose)\
**Post date:** [September 30, 2016, 7:56am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/3 "2016-09-30T07:56:08Z")

</div>

Hello ,

I did change the version to 4.13.1 and remade the project. Started the packaging, it finished, no errors this time.

However, the designated folder is still empty excluding the “HTML5” folder that was created ( Still all is 0bytes)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5a773e80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5a773e80](https://forums.unrealengine.com/u/anonymous_user_5a773e80)\
**Post date:** [October 5, 2016, 3:55am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/4 "2016-10-05T03:55:46Z")

</div>

Hello Bonorose,

I think this part of your original error log looks similar to UE-36717 error log I saw:

```
LogPlayLevel: HTML5Platform.Package: Setting Emscripten SDK for packaging..
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Could not find file 'D:\Epic Games\4.11\Engine\Intermediate\Build\HTML5\.emscripten'.

```

Do you happen to have HOME environment variable on your PC? That seems to make Html5 packaging fail(in 4.11 and later), so if you have HOME env var, could you test if deleting the env var make a difference?

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-36717)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![Bonorose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bonorose](https://forums.unrealengine.com/u/Bonorose)\
**Post date:** [October 10, 2016, 4:59am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/5 "2016-10-10T04:59:33Z")

</div>

Hello,  
I do not know, I checked and the error really was from the .emscripten and so on. Could you still explain about the HOME var ? I don’t think I have.  
I installed a clean 4.13.1 on my other PC and managed to pack it there.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5a773e80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5a773e80](https://forums.unrealengine.com/u/anonymous_user_5a773e80)\
**Post date:** [October 11, 2016, 10:00am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/6 "2016-10-11T10:00:58Z")

</div>

Hi, you can check what environment variables are defined for your pc in:

Windows Control Panel \> System \> Advanced system settings \> Environment Variables

Or running “set” command in command prompt.

So far it seems HOME or EM\_CONFIG environment variables can cause .emscripten not found error. In that case, .emscripten folder gets created in HOME or EM\_CONFIG folder - which is not ‘D:\Epic Games\4.11\Engine\Intermediate\Build\HTML5.emscripten’ - then there will be .emscripten not found error.

Well, if you do not have HOME nor EM\_CONFIG, then the cause would be different…

---

<div class="post-metadata">

**Author:** ![Bonorose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bonorose](https://forums.unrealengine.com/u/Bonorose)\
**Post date:** [October 11, 2016, 3:34pm UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/7 "2016-10-11T15:34:56Z")

</div>

Hello,

Yes, I do have HOME under var.

After deleting it I made a new project, compiled, it worked. No error, all exported. So yeah, HOME was the reason. Thanks for your help !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5a773e80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5a773e80](https://forums.unrealengine.com/u/anonymous_user_5a773e80)\
**Post date:** [March 21, 2017, 2:18am UTC](https://forums.unrealengine.com/t/ue4-doesnt-package-nor-launch-html5/371852/8 "2017-03-21T02:18:47Z")

</div>

HTML5 packaging issue with HOME env var is now fixed - the fix will be in 4.16.

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-36717)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.
