"You can now package and run your game in a Web browser through the binary tools you get through the Launcher. "
Updated Emscripten as indicated here: https://docs.unrealengine.com/latest/INT/Platforms/HTML5/GettingStarted/index.html et using both Firefox 32 bits and Firefox 64 bits Nightly.
I tried to launch the 2D side-scroller application template to HTML5: Blueprint version, Desktop with no starter content, minimal scalable 3D/2D.
Runs fine in the editor, however in Firefox, it’s black.
No errors lead to this, the launch was a “SUCCESS” apparently, only this log inside the browser would give me a clue if I could understand it. And with a timeout at the end (many seconds, 1 minute or so after the launch).
Any help appreciated.
L
LogHTML5Launch:Display: Starting UE4 ...
LogHTML5Launch:Display: Command line: ../../../html2/html2.uproject /Game/2DSideScrollerBP/Maps/2DSideScrollerExampleMap -Messaging
LogTemp:Display: PreInit Start
LogInit:Display: Running engine for game: html2
LogInit:Display: Project file not found: ../../../html2/html2.uproject
LogInit:Display: Attempting to find via project info helper.
LogUProjectInfo: Found projects:
LogConfig:Warning: Failed to saved backup for config[Engine]
L
LogConfig:Warning: Failed to saved backup for config[Game]
L
LogConfig:Warning: Failed to saved backup for config[Input]
L
LogConfig:Warning: Failed to saved backup for config[Scalability]
L
LogConfig:Warning: Failed to saved backup for config[GameUserSettings]
LogInit: Version: 4.7.0-2455222+++depot+UE4-Releases+4.7
LogInit: API Version: 2455222
LogInit: Compiled (32-bit): Feb 21 2015 23:34:01
LogInit: Compiled with Clang: 3.3
LogInit: Build Configuration: Development
LogInit: Branch Name: ++depot+UE4-Releases+4.7
LogInit: Command line: /Game/2DSideScrollerBP/Maps/2DSideScrollerExampleMap -Messaging
LogInit: Base directory:
LogInit: Rocket: 1
[2015.02.24-22.52.20:273][ 0]LogTaskGraph: Started task graph with 2 named threads and 3 total threads.
L
[2015.02.24-22.52.20:276][ 0]LogOnline:Warning: No default platform service specified for OnlineSubsystem
[2015.02.24-22.52.20:279][ 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[2015.02.24-22.52.20:336][ 0]LogInit: Object subsystem initialized
L
[2015.02.24-22.52.20:356][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'TranslucentSortAxis = (X=0.000000,Y=-1.000000,Z=0.000000)'
L
[2015.02.24-22.52.20:359][ 0]LogConsoleResponse:Warning: Found in ini file '../../../html2/Saved/Config/HTML5/Engine.ini', in section '[/Script/Engine.RendererSettings]'
L
[2015.02.24-22.52.20:363][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleRule = ShortestSide'
L
[2015.02.24-22.52.20:366][ 0]LogConsoleResponse:Warning: Found in ini file '../../../html2/Saved/Config/HTML5/Engine.ini', in section '[/Script/Engine.RendererSettings]'
L
[2015.02.24-22.52.20:369][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)'
L
[2015.02.24-22.52.20:373][ 0]LogConsoleResponse:Warning: Found in ini file '../../../html2/Saved/Config/HTML5/Engine.ini', in section '[/Script/Engine.RendererSettings]'
L
[2015.02.24-22.52.20:421][ 0]LogConfig:Warning: Failed to saved backup for config[DeviceProfiles]
[2015.02.24-22.52.20:430][ 0]LogInit: Setting Device Profile CVar: [[r.RefractionQuality:0]]
[2015.02.24-22.52.20:434][ 0]LogInit: Computer: Browser
[2015.02.24-22.52.20:436][ 0]LogInit: User: GenericUser
[2015.02.24-22.52.20:438][ 0]LogInit: Current Culture: en-US
[2015.02.24-22.52.20:440][ 0]LogInit: High frequency timer resolution =1.000000 MHz
[2015.02.24-22.52.20:443][ 0]LogInit: Memory total: Physical=1.0GB (1GB approx)
[2015.02.24-22.52.20:451][ 0]LogRHI: Initializing OpenGL RHI
[2015.02.24-22.52.20:455][ 0]LogRHI: GL_VENDOR: Mozilla
[2015.02.24-22.52.20:457][ 0]LogRHI: GL_RENDERER: Mozilla
[2015.02.24-22.52.20:459][ 0]LogRHI: GL_VERSION: WebGL 1.0
[2015.02.24-22.52.20:461][ 0]LogRHI: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL 1.00 (WebGL)
[2015.02.24-22.52.20:464][ 0]LogRHI: OpenGL Extensions:
[2015.02.24-22.52.20:466][ 0]LogRHI: ANGLE_instanced_arrays
[2015.02.24-22.52.20:468][ 0]LogRHI: GL_ANGLE_instanced_arrays
[2015.02.24-22.52.20:471][ 0]LogRHI: EXT_blend_minmax
[2015.02.24-22.52.20:473][ 0]LogRHI: GL_EXT_blend_minmax
[2015.02.24-22.52.20:475][ 0]LogRHI: EXT_frag_depth
[2015.02.24-22.52.20:477][ 0]LogRHI: GL_EXT_frag_depth
[2015.02.24-22.52.20:479][ 0]LogRHI: EXT_shader_texture_lod
[2015.02.24-22.52.20:481][ 0]LogRHI: GL_EXT_shader_texture_lod
[2015.02.24-22.52.20:483][ 0]LogRHI: EXT_texture_filter_anisotropic
[2015.02.24-22.52.20:486][ 0]LogRHI: GL_EXT_texture_filter_anisotropic
[2015.02.24-22.52.20:488][ 0]LogRHI: OES_element_index_uint
[2015.02.24-22.52.20:490][ 0]LogRHI: GL_OES_element_index_uint
[2015.02.24-22.52.20:492][ 0]LogRHI: OES_standard_derivatives
[2015.02.24-22.52.20:494][ 0]LogRHI: GL_OES_standard_derivatives
[2015.02.24-22.52.20:497][ 0]LogRHI: OES_texture_float
[2015.02.24-22.52.20:499][ 0]LogRHI: GL_OES_texture_float
[2015.02.24-22.52.20:501][ 0]LogRHI: OES_texture_float_linear
[2015.02.24-22.52.20:503][ 0]LogRHI: GL_OES_texture_float_linear
[2015.02.24-22.52.20:505][ 0]LogRHI: OES_texture_half_float
[2015.02.24-22.52.20:507][ 0]LogRHI: GL_OES_texture_half_float
[2015.02.24-22.52.20:510][ 0]LogRHI: OES_texture_half_float_linear
[2015.02.24-22.52.20:517][ 0]LogRHI: GL_OES_texture_half_float_linear
[2015.02.24-22.52.20:520][ 0]LogRHI: OES_vertex_array_object
[2015.02.24-22.52.20:522][ 0]LogRHI: GL_OES_vertex_array_object
[2015.02.24-22.52.20:525][ 0]LogRHI: WEBGL_color_buffer_float
[2015.02.24-22.52.20:531][ 0]LogRHI: GL_WEBGL_color_buffer_float
[2015.02.24-22.52.20:535][ 0]LogRHI: WEBGL_compressed_texture_s3tc
[2015.02.24-22.52.20:537][ 0]LogRHI: GL_WEBGL_compressed_texture_s3tc
[2015.02.24-22.52.20:539][ 0]LogRHI: WEBGL_depth_texture
[2015.02.24-22.52.20:541][ 0]LogRHI: GL_WEBGL_depth_texture
[2015.02.24-22.52.20:543][ 0]LogRHI: WEBGL_draw_buffers
[2015.02.24-22.52.20:545][ 0]LogRHI: GL_WEBGL_draw_buffers
[2015.02.24-22.52.20:547][ 0]LogRHI: WEBGL_lose_context
[2015.02.24-22.52.20:549][ 0]LogRHI: GL_WEBGL_lose_context
[2015.02.24-22.52.20:551][ 0]LogRHI: MOZ_WEBGL_lose_context
[2015.02.24-22.52.20:553][ 0]LogRHI: GL_MOZ_WEBGL_lose_context
[2015.02.24-22.52.20:567][ 0]LogRHI: MOZ_WEBGL_compressed_texture_s3tc
[2015.02.24-22.52.20:569][ 0]LogRHI: GL_MOZ_WEBGL_compressed_texture_s3tc
[2015.02.24-22.52.20:571][ 0]LogRHI: MOZ_WEBGL_depth_texture
[2015.02.24-22.52.20:573][ 0]LogRHI: GL_MOZ_WEBGL_depth_texture
[2015.02.24-22.52.20:575][ 0]LogRHI: GL_MAX_VERTEX_UNIFORM_VECTORS: 1024
[2015.02.24-22.52.20:578][ 0]LogRHI: GL_MAX_FRAGMENT_UNIFORM_VECTORS: 1024
[2015.02.24-22.52.20:586][ 0]LogRHI: Fragment shader lowp precision: 23
[2015.02.24-22.52.20:589][ 0]LogRHI: Fragment shader mediump precision: 23
[2015.02.24-22.52.20:591][ 0]LogRHI: Fragment shader highp precision: 23
[2015.02.24-22.52.20:593][ 0]LogRHI: GL_MAX_TEXTURE_SIZE: 16384
[2015.02.24-22.52.20:595][ 0]LogRHI: GL_MAX_CUBE_MAP_TEXTURE_SIZE: 16384
[2015.02.24-22.52.20:598][ 0]LogRHI: GL_MAX_RENDERBUFFER_SIZE: 16384
[2015.02.24-22.52.20:600][ 0]LogRHI: GL_MAX_TEXTURE_IMAGE_UNITS: 16
[2015.02.24-22.52.20:602][ 0]LogRHI: GL_MAX_COLOR_ATTACHMENTS: 1
[2015.02.24-22.52.20:604][ 0]LogRHI: GL_MAX_SAMPLES: 1
[2015.02.24-22.52.20:606][ 0]LogRHI: GL_MAX_COLOR_TEXTURE_SAMPLES: 1
[2015.02.24-22.52.20:608][ 0]LogRHI: GL_MAX_DEPTH_TEXTURE_SAMPLES: 1
[2015.02.24-22.52.20:610][ 0]LogRHI: GL_MAX_INTEGER_SAMPLES: 1
[2015.02.24-22.52.20:612][ 0]LogRHI: GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: 32
[2015.02.24-22.52.20:614][ 0]LogRHI: GL_MAX_VERTEX_ATTRIBS: 16
[2015.02.24-22.52.20:617][ 0]LogRHI: GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16
[2015.02.24-22.52.20:619][ 0]LogRHI: OpenGL MajorVersion = 2, MinorVersion = 0, ShaderPlatform = GLSL_ES2_WEBGL, FeatureLevel = ES2
[2015.02.24-22.52.20:644][ 0]LogTextLocalizationManager: The requested culture ('en_US') has no localization data; parent culture's ('en') localization data will be used.
L
[2015.02.24-22.52.21:617][ 0]LogConfig:Warning: Failed to saved backup for config[EditorUserSettings]
[2015.02.24-22.52.21:809][ 0]LogObj: 20182 objects as part of root set at end of initial load.
[2015.02.24-22.52.21:812][ 0]LogUObjectAllocator: 2963256 out of 0 bytes used by permanent object pool.
L
[2015.02.24-22.52.21:815][ 0]LogHTML5Launch:Display: PreInit Complete
L
[2015.02.24-22.52.21:818][ 0]LogHTML5Launch:Display: Init Start
[2015.02.24-22.52.21:822][ 0]LogEngine: Initializing Engine...
[2015.02.24-22.52.21:875][ 0]LogALAudio: ALAudio device opened : Device
[2015.02.24-22.52.21:880][ 0]LogALAudio: AL_VENDOR : Emscripten
[2015.02.24-22.52.21:882][ 0]LogALAudio: AL_RENDERER : WebAudio
[2015.02.24-22.52.21:884][ 0]LogALAudio: AL_VERSION : 1.1
[2015.02.24-22.52.21:887][ 0]LogALAudio: AL_EXTENSIONS :
[2015.02.24-22.52.21:890][ 0]LogInit: FAudioDevice initialized.
[2015.02.24-22.52.21:892][ 0]LogInit: Texture streaming: Disabled
L
[2015.02.24-22.52.21:907][ 0]LogConfig:Warning: Failed to saved backup for config[GameUserSettings]
L
[2015.02.24-22.52.21:915][ 0]LogConfig:Warning: Failed to saved backup for config[GameUserSettings]
[2015.02.24-22.52.21:951][ 0]LogNet: Browse: /Game/2DSideScrollerBP/Maps/2DSideScrollerExampleMap?Name=Player
[2015.02.24-22.52.21:955][ 0]LogLoad: LoadMap: /Game/2DSideScrollerBP/Maps/2DSideScrollerExampleMap?Name=Player
[2015.02.24-22.52.21:981][ 0]LogMemory: Platform Memory Stats for HTML5
[2015.02.24-22.52.21:983][ 0]LogMemory: Process Physical Memory: 0.00 MB used, 0.00 MB peak
[2015.02.24-22.52.21:986][ 0]LogMemory: Process Virtual Memory: 0.00 MB used, 0.00 MB peak
[2015.02.24-22.52.21:988][ 0]LogMemory: Physical Memory: 1024.00 MB used, 1024.00 MB total
[2015.02.24-22.52.21:991][ 0]LogMemory: Virtual Memory: 0.00 MB used, 0.00 MB total
[2015.02.24-22.52.21:993][ 0]LogMemory:
[2015.02.24-22.52.21:995][ 0]Allocator Stats for ANSI: (not implemented)
[2015.02.24-22.52.22:172][ 0]LogWorld: Game class is '2DSideScrollerGameMode_C'
L
[2015.02.24-22.52.22:190][ 0]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//None///Thread_10000_0///////STATCAT_Advanced//// old //STATGROUP_Threads//None///Thread_ffff_0///////STATCAT_Advanced////
L
[2015.02.24-22.52.22:194][ 0]LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//None///Thread_10001_0///////STATCAT_Advanced//// old //STATGROUP_Threads//None///Thread_ffff_0///////STATCAT_Advanced////
L
[2015.02.24-22.52.22:215][ 0]LogModuleManager:Warning: ModuleManager: Module 'GameplayDebugger' not found - its StaticallyLinkedModuleInitializers function is null.
[2015.02.24-22.52.22:217][ 0]LogAIModule: Creating AISystem for world 2DSideScrollerExampleMap
[2015.02.24-22.52.22:420][ 0]LogWorld: Bringing World /Game/2DSideScrollerBP/Maps/2DSideScrollerExampleMap.2DSideScrollerExampleMap up for play (max tick rate 0) at 2015.02.24-17.52.22
[2015.02.24-22.52.22:425][ 0]LogWorld: Bringing up level for play took: 0.204600
L
[2015.02.24-22.52.22:440][ 0]LogRenderer:Warning: Reallocating scene render targets to support 1336x840 (Frame:2).
L
[2015.02.24-22.52.22:698][ 0]LogInit:Display: Game Engine Initialized.
L
[2015.02.24-22.52.22:701][ 0]LogHTML5Launch:Display: Init Complete
L
[2015.02.24-22.54.19:193][491]LogRenderer:Warning: Reallocating scene render targets to support 1792x1120 (Frame:3495).
[2015.02.24-22.56.44:026][480]LogHttp:Warning: Timeout processing Http request. 0x446fbe0