Description

HTML5 fails to compile on Mac when built for shipping in binary
I did not see this when packaging for development yesterday

Does not occur in 4.14.3

The error appears to be WebGL related

Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.  GitGud.html:228:15
Successfully compiled asm.js code (total compilation time 9016ms; stored in cache)  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:83964
Error: WebGL: texImage2D: With format DEPTH_COMPONENT24, this function may only be called with target=TEXTURE_2D, data=null, and level=0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:329126
Error: WebGL: texSubImage2D: The specified TexImage has not yet been specified.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:313154
Error: WebGL: drawElements: Drawing to a destination rect smaller than the viewport rect. (This warning will only be given once)  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:215127
Error: WebGL: framebufferTexture2D: `level` must be 0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: clear: Framebuffer must be complete.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: clear: Framebuffer must be complete.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: clear: Framebuffer must be complete.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: clear: Framebuffer must be complete.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings)  7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:304222
uncaught exception: ASM_CONSTS<@blob:http://localhost:8000/7a5e7474-feb4-2243-a4cc-b332d1c3f9fe:1:28129

and

Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.  GitGud.html:228:15
Successfully compiled asm.js code (loaded from cache in 741ms)  f229ad23-903a-d94c-b0c6-ae8b86be2a8e
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:83964
Error: WebGL: texImage2D: With format DEPTH_COMPONENT24, this function may only be called with target=TEXTURE_2D, data=null, and level=0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:329126
Error: WebGL: texSubImage2D: The specified TexImage has not yet been specified.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:313154
Error: WebGL: drawElements: Drawing to a destination rect smaller than the viewport rect. (This warning will only be given once)  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:215127
Error: WebGL: framebufferTexture2D: `level` must be 0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: clear: Framebuffer must be complete.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: clear: Framebuffer must be complete.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: clear: Framebuffer must be complete.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Error: WebGL: clear: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: clear: Framebuffer must be complete.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:234511
Error: WebGL: framebufferTexture2D: `level` must be 0.  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:237959
Error: WebGL: checkFramebufferStatus: Framebuffer not complete. (status: 0x8cd7)   f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings)  f229ad23-903a-d94c-b0c6-ae8b86be2a8e:1:304222
Steps to Reproduce
  1. Create a new BP FPS project with no starter content
  2. When in editor set File > package project > build configuration > Shipping
  3. Then hit File > Package Project > HTML5
  4. Select a location to package the project to
  5. When the package is complete navigate to the containing folder and run RunMacHTML5LaunchHelper.command
  6. Open a Firefox browser window and go to *[Link Removed]
  7. Select ProjectName-HTML5-Shipping.html

Results: The project fails to compile
Expected Results: The project compiles cleanly

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40601 in the post.

0
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Apple
Affects Versions4.15
Target Fix4.15
CreatedJan 13, 2017
ResolvedJan 24, 2017
UpdatedApr 27, 2018
View Jira Issue