I have managed to get the HTML5 build built. However in Chrome it is reporting “Too many variables declared” and in Firefox it is throwing an out of memory error.
Maybe you have a memory leak in your code?
I was testing with the SwingNinja sample.
Hi JKnife,
Thank you for letting us know about your issue. Currently Chrome is not fully supported, but Firefox should be able to run the engine if you are using the 64 bit Nightly edition. There are more fixes that will be coming out in the future for the HTML5 build.
Have a great night!
Solo puedo compilar para html5 si compilo el source?
@Slam_
Lo sentimos, utilizando traductor de google
Si. Primero tiene que instalargithub.com/kripken/emscripten/wiki/Emscripten-SDK continuación, ejecute la secuencia de comandos de generar proyectos. En Visual ahora verá una opción para construir la plataforma HTML5
Muchas gracias
traductor de google: thank you very much
I can take steps to create a pack of html5? I already have the Emscripten-SDK and run the _internal.bat
I used the UnrealFrontend (built from source)
not built UnrealFrontend ???
Ya compile el UnrealFrontend y nada, cuando lo compilo me ejecuta el firefox pero sale como si no existiera ningún archivo creado.
qué versión de Firefox está usando? ¿Has actualizado a la edición nocturna de 64 bits?
Already have the Emscripten-SDK and run the _internal.bat
Al parecer no me genera el UE4Game.js ni los html,
Cuando compilo HTML5 en VS2013
1> In file included from Runtime/OpenGLDrv/Private/HTML5/HTML5OpenGL.h:47:
1>D:\Dev\UE4\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Public\OpenGLES2.h(160,3): error : use of undeclared identifier 'glGetObjectLabelEXT'
1> Runtime/OpenGLDrv/Public/OpenGLES2.h:160:3: error: use of undeclared identifier 'glGetObjectLabelEXT'
1> glGetObjectLabelEXT(Type, Object, BufferSize, &Length, OutName);
1> ^
1> 1 error generated.
1>EXEC : error root: compiler frontend failed to generate LLVM bitcode, halting
1> python.exe Module.OpenGLDrv.3_of_3.cpp
1> python.exe Module.SlateRHIRenderer.cpp
1> In file included from D:/Dev/UE4/UnrealEngine/Engine/Intermediate/Build/HTML5/UE4Client/Development/OpenGLDrv/Module.OpenGLDrv.3_of_3.cpp:2:
1> In file included from D:/Dev/UE4/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLUtil.cpp:7:
1> In file included from Runtime/OpenGLDrv/Private/OpenGLDrvPrivate.h:10:
1> In file included from Runtime/OpenGLDrv/Public/OpenGLDrv.h:26:
1> In file included from Runtime/OpenGLDrv/Private/HTML5/HTML5OpenGL.h:47:
1>D:\Dev\UE4\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Public\OpenGLES2.h(160,3): error : use of undeclared identifier 'glGetObjectLabelEXT'
1> Runtime/OpenGLDrv/Public/OpenGLES2.h:160:3: error: use of undeclared identifier 'glGetObjectLabelEXT'
1> glGetObjectLabelEXT(Type, Object, BufferSize, &Length, OutName);
1> ^
1> 1 error generated.
1>EXEC : error root: compiler frontend failed to generate LLVM bitcode, halting
Fix for that compliation error: https://github.com/wshearn/UnrealEngine/commit/2cb13d03b1027b177cf0503a8208a74f530bdc2a
Jknife Gracias
Hello,
We have just uploaded some new documentation for HTML 5:
https://docs.unrealengine.com/latest/INT/Platforms/HTML5/index.html
Please review it and see if it can help to answer any questions you may be having. Let us know if anything is still unclear.
Cheers!