In the Environment Variables window, you need to have a definition for EMSCRIPTEN under the “System variables” section:
If you don’t see a definition for EMSCRIPTEN, then the Emscripten SDK did not install properly. The SDK should take care of creating this variable for you. If it doesn’t, for some reason, you can click the “New…” button and enter the following:
Note that the path here (D:\Emscripten\emscripten\1.16.0) will be different in your case. You will need to change it to wherever you installed the Emscripten SDK. The folder pointed to by the EMSCRIPTEN variable should contain a file called ‘emscripten.py’
after installed emscripten and followed all proper setup
when UnrealFrontend advance create new profile
and keep all by tutorial there that html5 disable
even github unreal engine html5 still disable
where i am wrong
even in launch option A required platform SDK is missing
if u want to see i will attached all required snapshot or info
please help me
Generate the UE4 project by double clicking the GenerateProjectFiles.bat in the root directory
In the Visual Studio project, build the Unreal Frontend
Run Unreal Frontend
Select the Game Launcher tab
Select the Advanced… icon on the left
Click the + button near the drop down to create a new profile
Browse for the uproject file by selecting the Project drop down and browsing to your project location
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
In the Cook section, select By the Book from the drop down
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)
Select the map you wish to load.
in the Package section select Package and Store locally and leave the options blank
Select the Launch button at the bottom of the window, this will launch the build and cook process
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.
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.
Thxs! That worked like a charm. Just one question tho’ why aren’t my textures showing? Is there a size limit for them? These are just 512*512 textures.