x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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: http://pastebin.com/yKJFmBcs

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 :)

Thanks!

A.

Product Version: Not Selected
Tags:
more ▼

asked Feb 16 '15 at 12:38 AM in Packaging & Deployment

avatar image

AndreElijah
21 4 8 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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?

more ▼

answered Feb 16 '15 at 09:35 AM

avatar image

JoJo_2nd STAFF
328 9 4 7

avatar image AndreElijah Feb 16 '15 at 03:23 PM

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

avatar image AndreElijah Feb 16 '15 at 03:27 PM

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

avatar image JoJo_2nd STAFF Feb 16 '15 at 04:22 PM

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 :-/

avatar image AndreElijah Feb 16 '15 at 04:24 PM

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!

avatar image AndreElijah Feb 16 '15 at 04:32 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question