Help with setting up HTML5 for UE 4.1.0 through Github

Hi,

Here is the check list I normally use:

  1. Install emscripten SDK 1.16 from Emscripten SDK · emscripten-core/emscripten Wiki · GitHub
  2. Generate the UE4 project by double clicking the GenerateProjectFiles.bat in the root directory
  3. In the Visual Studio project, build the Unreal Frontend
  4. Run Unreal Frontend
  5. Select the Game Launcher tab
  6. Select the Advanced… icon on the left
  7. Click the + button near the drop down to create a new profile
  8. Browse for the uproject file by selecting the Project drop down and browsing to your project location
  9. Click on the Build check box on the right side of the Build section, this will build your game or UE4Game if it is content only
  10. In the Cook section, select By the Book from the drop down
  11. Select HTML5 in the Platform list (if HTML5 does not show up here then the HTML5 target platform library wasn’t built in step 3, go back to step 3 and force a clean build of Unreal Frontend)
  12. Select the map you wish to load.
  13. in the Package section select Package and Store locally and leave the options blank
  14. Select the Launch button at the bottom of the window, this will launch the build and cook process
  15. Once that completes, you should have the game in the Engine/Binaries/HTML5 directory (for a content only project) or Game/Binaries/HTML5 (for a code project) with a simple web page to load it in to.
  16. Load the web page (GameName.html) in to Firefox or Firefox 64-bit and verify your game launches.

16.a. If you want to try it in Chrome, then you will need to run a simple server. I typically run python -m SimpleHTTPServer 8888 from within the Binaries/HTML5 directory and then browse to that server in Chrome (http://127.0.0.1:8888/GameName.html).

Let me know if you run into anything after following those steps and we can troubleshoot further.

-Pete