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"

html5 build issue

Hi there,

when i start the "TP_TopDown.html" the browser (Firefox 31.0) opens and has a progressbar which reads "Downloading Data" and some buttons ("Fullscreen", "Pause", "Resume", "Quit" and "ClearStoredGame") but there is nothing happening on the screen.

  • UE4.3 built in VS2013 (development x64)

  • UFE also built in VS2013 (development x64)

  • Emscripten from 1.7.8 to 1.21.0 (emsdk update, emsdk install latest, emsdk activate latest) (Emscripten SDK Full)

The build of the "TP_TopDown" template succeeded in UFE and the generated files are stored in "C:\UnrealEngine\Templates\TP_TopDown\Binaries\HTML5"

The "DefaultEngine.ini" reads: [URL] GameName=TP_TopDown

[/Script/EngineSettings.GameMapsSettings] GameDefaultMap=/Game/Maps/Example_Map EditorStartupMap=/Game/Maps/Example_Map GlobalDefaultGameMode="/Script/TP_TopDown.TP_TopDownGameMode"

I've tried setting "GameDefaultMap=/Game/Maps/Example_Map" to "GameDefaultMap=/Content/Maps/Example_Map" but with no success.

Any ideas?

Thanks in Advance

Product Version: Not Selected
more ▼

asked Aug 07 '14 at 04:58 PM in Packaging & Deployment

avatar image

56 12 15 19

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

2 answers: sort voted first

Try using a 64 bit browser such as:

HTML 5 is still experimental I guess but what I do is the following:

  1. Open UnrealFrontend

  2. Switch to the 'Game Launcher' tab and choose 'Advanced' from the left panel

  3. Create a profile for your build

  4. In the 'Build' section check the 'Do you which to build?' checkbox

  5. In the 'Cook' section select 'Cook by the Book' and select the maps you would like to build

  6. In the 'Package' section choose 'Package & Store Locally', let all fields blank though

  7. In the 'Deploy' section select 'Copy to Device' and create a new group for HTML5

  8. No click the 'Launch' button

The final build will be with the 'Binaries/HTML5' engine folder and not in you project folder.

When building and cooking you could also choose shipping which will result in smaller size of you final build.

If still fails (check the browser developer console) try tweaking the assigned heap memory that emscripten uses:

  • Open HTML5ToolChain.cs

  • Modify the following line: Result += " -s TOTAL_MEMORY=1610612736"; To use a 32 bit browser its important to enable gzip on the web server, you can also pre-gzip the files but that requires some tweaking on the server side and some extra steps that you have to do manually (web technologies) not related directly to the engine.

Hope it helps to get you build running!

Edit: More about UnrealFrontend: https://docs.unrealengine.com/latest/INT/Engine/Deployment/UnrealFrontend/index.html

Cheers, Moss

more ▼

answered Aug 08 '14 at 12:59 PM

avatar image

6.4k 127 98 607

avatar image 5v29n Aug 20 '14 at 09:22 AM

Hey Moss,

thank You very much for your answer and sorry for my late response.

On the GitHub i discovered that i have forgotten to install the optionals for html5, so even the basics of building a html5 project weren't given. Now my problem is lack of diskspace again so i can't check it out till i free some space :(

avatar image Moss Aug 20 '14 at 09:40 AM

If you have any trouble regarding my 'lil guide just add a comment ^^

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


more ▼

answered Feb 26 '15 at 05:25 PM

avatar image

46 8 13 15

avatar image Moss Feb 26 '15 at 06:23 PM

The file us located in the source of the engine. You can download it from github.

Please do not hijack threads nor post a comment as answers, it will un-mark the question in case it was resolved. You should create a new question instead.

Cheers, Moss

(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