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"

How to compile UE4 for html5 correctly?

Hello! I read this article : https://docs.unrealengine.com/latest/INT/Platforms/HTML5/GettingStarted/index.html and and did so as it was written. I downloaded source and install Emscripten. After that i compiled ue 4. There was an inscription in ue 4 "package for html5". Click on it and throws me on this page https://docs.unrealengine.com/latest/INT/Platforms/HTML5/GettingStarted/index.html. What else needs to be done to work?

Product Version: Not Selected
Tags:
more ▼

asked Jan 06 '15 at 06:50 AM in Packaging & Deployment

avatar image

bob474
1 1 2

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

1 answer: sort voted first

Hi bob474,

Are you still having an issue with compiling for HTML5? Recent versions of the editor have default presets for HTML for Safari and Chrome on both Mac and PC versions of the editor.

If you are still having a problem compiling for HTML5, respond to this post and we will continue to investigate.

Thanks

more ▼

answered Oct 20 '15 at 08:48 PM

avatar image CreativeVilla Feb 29 '16 at 02:33 PM

Hello, I've read through many posts in the forums, and still cant find the solution for 'where' to change the Total_Memory settings to allow the browser to allocate more memory for larger projects. This is the last line in my error when launching in FireFox:

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 536870912, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.

Is this done BEFORE compling through the editor, or after inside the .js files?

Thanks!!! Jerry

avatar image Steve Hardister ♦♦ STAFF Feb 29 '16 at 03:16 PM

You wrote that you are launching in FireFox... According to the above linked documentation, a 64-bit browser is currently required to run HTML5 builds. You can download the 64bit version for Windows here: Firefox Nightlies

If you are currently using the 64bit version Firefox Nightlies, please respond and we will continue to investigate this issue.

(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