RunUAT.bat Errors and HTML5 Export

Hi all,

This week I’ve run the gamut when it comes to issues getting our project over the finish line but we’re almost there.

Using UE 4.7 in mobile preview, all of our assets can now be viewed (in 4.6 everything in the viewport had disappeared), and our matinee at the beginning renders properly.

Now - the final issue is building for HTML5. The project refuses to build.

To be clear, I am using UE 4.7 Preview 7 built from Source, Visual Studio Community Edition 2013, and building UnrealFrontend from the UE4 Solution in Visual Studio, and Emscripten.

I have had various errors pop up at different times in the build process but they all reference RunUAT.bat regardless of whether or not I use the UE4 Editor, UnrealFrontend, or Visual Studio to build the project to HTML5.

I have uninstalled Visual Studio and reinstalled it, deleted UE4 and redownloaded/compiled from source, and nothing works.

Additionally I’ve tried building my projects as well as the default Tappy Chicken and a blank project. All to no avail.

Please take a look at the error part of the log located on pastebin: UE4 RunUAT.bat - Pastebin.com

The entire log is too large to be posted on pastebin, my apologies.

Is there no, straight-forward, error free process to get things built for HTML5? That was a HUGE selling point in our investment in Unreal Engine and it looks to me like lots of people are running into the same issues with no clear fix apparent.

Please help! I’m dying to show this work off :slight_smile:

Thanks!

A.

Hi,

The only clue I can get from your error log is the line UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Andre\Documents\Unreal Projects\HTMLTest\Binaries\HTML5\HTMLTest.js which suggests to me that something failed to compile? Or UBT was unable to write to the file possible? I’ve had this when my HDD ran out of space.
Can you add your compile output from HTMLTest, maybe?

Hey JoJo thanks for the suggestion - turns out my drive was almost out of space from all of the instances of UE4 that I compiled over the weekend… I just cleared them all out and decided to run the UE4Frontend on my project again… It came back with another error as seen here: http://pastebin.com/T0UnQLv2

Again, any help would be appreciated. It’s a holiday weekend here in Toronto, and I have yet to leave my computer. LOL sigh

Also - here is the complete log from the initial error that I mentioned. I tossed it up on GoogleDrive. http://bit.ly/1FSO4np

Cool - I will try moving it to the root of the drive. I’ll get rid of the spaces as well and report back.

Thanks!

Just looking through the log, emscripten is complaining about long command lines. Never seen it myself but I’d suggest moving your UE4 install out of “my documents” to give it a shorter path. Emscripten is also complaining about spaces in paths and as it’s mainly developed on linux AFAICT spaces in your UE4 install path are best avoided too :-/

Moved the UE4 directory to the root of the drive. Got rid of the spaces in the directory of the project… here’s the log: http://pastebin.com/ZBa2bjmS

I’m shocked that Epic would tout HTML5 export as a feature when so many people are running into unexplained problems.