mscorlib exception when building for HTML5
Whenever I build for HTML5 from Frontend, I get a "build failed" with this exception:
Program.Main: ERROR: Exception in mscorlib: Could not find file 'D:\Unreal Projects\UnrealEngine\Engine\Binaries\HTML5\UE4Game.js'.
I guess it failed to produce the UE4Game.js file, which is why it's throwing this exception at me. It's also preceded by this line: CommandUtils.Run: Run: C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.21.0\tools\file_packager.py" "C:\Users\Smike\Documents\Unreal Projects\MyProject\Binaries\HTML5\MyProject.data" --preload . --js-output="C:\Users\Smike\Documents\Unreal Projects\MyProject\Binaries\HTML5\MyProject.data.js"
Could it be a problem with Emscripten?
asked Jul 27 '14 at 08:08 PM in Packaging & Deployment
Thanks for the help. I found out what the problem was. It turns out the solution to my problem was simply to build my game project in Visual Studio with the "Development" setup for the Windows platform. Then I could package my game for HTML5 without errors!
answered Aug 02 '14 at 01:13 AM
Actually, it looks like you need to make sure you have "Do you with to build " checked in the UnrealFrontend before launching. That solved the issue for me.
answered Sep 29 '14 at 09:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here