Missing HTML5 Folder in Binaries

Well after a lot of research and trial/error I managed to get the HTML5 platform running in UE4.4. Now I am trying to repeat the process to get HTML5 running in UE4.5 as well. Everything goes well, till I get to the part of cooking the games in front end. In the phase of “Deploying content for HTML5” I get this error:

Program.Main: ERROR: Exception in mscorlib: Could not find a part of the path ‘D:\Github\UnrealEngine-4.5\Engine\Binaries\HTML5\UE4Game-HTML5-Shipping.js’.

Now in UE4.4 I managed to solve this by pure luck. I just put a certain HTML5 folder in the binaries folder of unreal and everything worked okay. However the real problem is that I don’t know how I got that folder in the first place.

I was doing the 4.4 engine compilation and set up in my desktop first and then in my laptop. Somehow one of the machines got the HTML5 folder that was missing while the other didn’t get the folder. However I don’t know what I really did different in each machine. That is basically the problem, I don’t know what to do in the engine setup of 4.5 to get that folder. I did copy the folder of 4.4 to the 4.5 binary and it seemed to work…but I really want to know how to get the folder that’s missing.

Here is an image of the content that is in the folder.

Hi Ddox3d,

You’re missing a build step that creates that folder. There’s a pretty detailed explanation here UE4 4.5 cannot launch to HTML5 - Platform & Builds - Epic Developer Community Forums so I won’t repeat it. Just note that you’re missing a shipping build but the steps there build a development build. To be safe I’d just build both, it just a case of selecting from a drop down box :slight_smile:

Thanks for the quick reply, I managed to resolve the issue. As you said, I was missing the Shipping Build and the HTML5 Build steps in visual studio…Inside the link you posted I found this other link that provided with specifics on what I was doing wrong.

Hopefully this will be useful to others.

P.S.

If you have trouble compiling the HTML5 build in VS make sure you have Emscripten 1.22.0 properly installed for Unreal.4.5.1