Search Unity

Webgl build doesnt load

Discussion in 'Editor & General Support' started by G4den, Feb 12, 2020.

  1. G4den

    G4den

    Joined:
    Oct 30, 2016
    Posts:
    7
    Hi guys.

    When i try load my unity game webgl build, it wont load all the way. This message pops up
    I've tried using different webgl templates as well.


    And the console looks like this
    Code (JavaScript):
    1. [UnityCache] 'http://somewebsite.com/cube/Build/CubeGame%20Webgl.wasm.code.unityweb' successfully revalidated and served from the indexedDB cache
    2. UnityLoader.js:3 You can reduce your startup time if you configure your web server to host .unityweb files using gzip compression.
    3. UnityLoader.js:4 [UnityCache] 'http://somewebsite.com/cube/Build/CubeGame%20Webgl.wasm.framework.unityweb' successfully revalidated and served from the indexedDB cache
    4. UnityLoader.js:4 [UnityCache] 'http://somewebsite.com/cube/Build/CubeGame%20Webgl.data.unityweb' successfully revalidated and served from the indexedDB cache
    5. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Loading player data from data.unity3d
    6.  
    7. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Initialize engine version: 2019.3.0f6 (27ab2135bccf)
    8.  
    9. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 [Subsystems] Discovering subsystems at path UnitySubsystems
    10.  
    11. UnityLoader.js:4 Creating WebGL 2.0 context.
    12. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Renderer: WebKit WebGL
    13.  
    14. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Vendor:   WebKit
    15.  
    16. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Version:  OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium))
    17.  
    18. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 GLES:     3
    19.  
    20. 69f781cb-bd22-47ef-9a6c-b817a133e884:8  EXT_color_buffer_float GL_EXT_color_buffer_float EXT_disjoint_timer_query_webgl2 GL_EXT_disjoint_timer_query_webgl2 EXT_float_blend GL_EXT_float_blend EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic KHR_parallel_shader_compile GL_KHR_parallel_shader_compile OES_texture_float_linear GL_OES_texture_float_linear WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb GL_WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_lose_context GL_WEBGL_lose_context OVR_multiview2 GL_OVR_multiview2
    21.  
    22. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 OPENGL LOG: Creating OpenGL ES 3.0 graphics device ; Context level  <OpenGL ES 3.0> ; Context handle 26749040
    23.  
    24. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 WARNING: Shader
    25. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Unsupported: 'Hidden/Universal Render Pipeline/BokehDepthOfField' - Pass 'Bokeh Depth Of Field CoC' has no vertex shader
    26.  
    27. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 UnloadTime: 0.499999 ms
    28.  
    29. UnityLoader.js:4 312
    30. UnityLoader.js:4 312
    31. printErr @ UnityLoader.js:4
    32. UnityLoader.js:4 exception thrown: abort(312) at Error
    33.     at jsStackTrace (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:22313)
    34.     at Object.stackTrace (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:22484)
    35.     at Object.onAbort (http://somewebsite.com/cube/Build/UnityLoader.js:4:11118)
    36.     at abort (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558607)
    37.     at wasm-function[82562]:0x1826ef2
    38.     at wasm-function[30658]:0xc8ef32
    39.     at wasm-function[82229]:0x1825f54
    40.     at Object.dynCall_viii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:543436)
    41.     at invoke_viii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:402261)
    42.     at wasm-function[34799]:0xd6cc41
    43.     at wasm-function[34798]:0xd6ba83
    44.     at wasm-function[27633]:0xc3f829
    45.     at wasm-function[82198]:0x1825b25
    46.     at Object.dynCall_iiiii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:523142)
    47.     at invoke_iiiii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:364232)
    48.     at wasm-function[80242]:0x17cd619
    49.     at wasm-function[79537]:0x17ac157
    50.     at wasm-function[4529]:0x1f15bc
    51.     at wasm-function[4528]:0x1f14e5
    52.     at wasm-function[10588]:0x433aa7
    53.     at wasm-function[10586]:0x433998
    54.     at wasm-function[10636]:0x435e65
    55.     at wasm-function[10626]:0x4350cf
    56.     at wasm-function[7830]:0x2fe453
    57.     at wasm-function[10610]:0x434a2d
    58.     at wasm-function[4854]:0x211582
    59.     at wasm-function[4852]:0x211481
    60.     at wasm-function[9615]:0x3e12f2
    61.     at wasm-function[9607]:0x3df8a4
    62.     at wasm-function[9608]:0x3dfc5f
    63.     at wasm-function[9603]:0x3df179
    64.     at wasm-function[10867]:0x44f94b
    65.     at wasm-function[10866]:0x44f634
    66.     at wasm-function[10864]:0x44f51b
    67.     at wasm-function[10860]:0x44ef00
    68.     at wasm-function[10854]:0x44ea56
    69.     at wasm-function[10716]:0x43c0ea
    70.     at wasm-function[10715]:0x43bc79
    71.     at Object._main (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:503217)
    72.     at Object.callMain (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:557395)
    73.     at doRun (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558071)
    74.     at run (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558239)
    75.     at runCaller (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:557014)
    76.     at Object.removeRunDependency (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:28777)
    77.     at processDataJob (http://somewebsite.com/cube/Build/UnityLoader.js:4:5421)
    78.     at i.callback (http://somewebsite.com/cube/Build/UnityLoader.js:3:19246)
    79. printErr @ UnityLoader.js:4
    80. UnityLoader.js:3 Invoking error handler due to
    81. Uncaught abort(312) at Error
    82.     at jsStackTrace (CubeGame Webgl.wasm.framework.unityweb:8:22313)
    83.     at stackTrace [Object.stackTrace] (CubeGame Webgl.wasm.framework.unityweb:8:22484)
    84.     at Object.onAbort (http://somewebsite.com/cube/Build/UnityLoader.js:4:11118)
    85.     at abort (CubeGame Webgl.wasm.framework.unityweb:8:558607)
    86.     at wasm-function[82562]:0x1826ef2
    87.     at wasm-function[30658]:0xc8ef32
    88.     at wasm-function[82229]:0x1825f54
    89.     at dynCall_viii [Object.dynCall_viii] (CubeGame Webgl.wasm.framework.unityweb:8:543436)
    90.     at invoke_viii (CubeGame Webgl.wasm.framework.unityweb:8:402261)
    91.     at wasm-function[34799]:0xd6cc41
    92.     at wasm-function[34798]:0xd6ba83
    93.     at wasm-function[27633]:0xc3f829
    94.     at wasm-function[82198]:0x1825b25
    95.     at dynCall_iiiii [Object.dynCall_iiiii] (CubeGame Webgl.wasm.framework.unityweb:8:523142)
    96.     at invoke_iiiii (CubeGame Webgl.wasm.framework.unityweb:8:364232)
    97.     at wasm-function[80242]:0x17cd619
    98.     at wasm-function[79537]:0x17ac157
    99.     at wasm-function[4529]:0x1f15bc
    100.     at wasm-function[4528]:0x1f14e5
    101.     at wasm-function[10588]:0x433aa7
    102.     at wasm-function[10586]:0x433998
    103.     at wasm-function[10636]:0x435e65
    104.     at wasm-function[10626]:0x4350cf
    105.     at wasm-function[7830]:0x2fe453
    106.     at wasm-function[10610]:0x434a2d
    107.     at wasm-function[4854]:0x211582
    108.     at wasm-function[4852]:0x211481
    109.     at wasm-function[9615]:0x3e12f2
    110.     at wasm-function[9607]:0x3df8a4
    111.     at wasm-function[9608]:0x3dfc5f
    112.     at wasm-function[9603]:0x3df179
    113.     at wasm-function[10867]:0x44f94b
    114.     at wasm-function[10866]:0x44f634
    115.     at wasm-function[10864]:0x44f51b
    116.     at wasm-function[10860]:0x44ef00
    117.     at wasm-function[10854]:0x44ea56
    118.     at wasm-function[10716]:0x43c0ea
    119.     at wasm-function[10715]:0x43bc79
    120.     at _main [Object._main] (CubeGame Webgl.wasm.framework.unityweb:8:503217)
    121.     at callMain [Object.callMain] (CubeGame Webgl.wasm.framework.unityweb:8:557395)
    122.     at doRun (CubeGame Webgl.wasm.framework.unityweb:8:558071)
    123.     at run (CubeGame Webgl.wasm.framework.unityweb:8:558239)
    124.     at runCaller (CubeGame Webgl.wasm.framework.unityweb:8:557014)
    125.     at removeRunDependency [Object.removeRunDependency] (CubeGame Webgl.wasm.framework.unityweb:8:28777)
    126.     at processDataJob (http://somewebsite.com/cube/Build/UnityLoader.js:4:5421)
    127.     at i.callback (http://somewebsite.com/cube/Build/UnityLoader.js:3:19246)
    128. 69f781cb-bd22-47ef-9a6c-b817a133e884:8 Uncaught abort(312) at Error
    129.     at jsStackTrace (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:22313)
    130.     at Object.stackTrace (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:22484)
    131.     at Object.onAbort (http://somewebsite.com/cube/Build/UnityLoader.js:4:11118)
    132.     at abort (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558607)
    133.     at wasm-function[82562]:0x1826ef2
    134.     at wasm-function[30658]:0xc8ef32
    135.     at wasm-function[82229]:0x1825f54
    136.     at Object.dynCall_viii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:543436)
    137.     at invoke_viii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:402261)
    138.     at wasm-function[34799]:0xd6cc41
    139.     at wasm-function[34798]:0xd6ba83
    140.     at wasm-function[27633]:0xc3f829
    141.     at wasm-function[82198]:0x1825b25
    142.     at Object.dynCall_iiiii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:523142)
    143.     at invoke_iiiii (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:364232)
    144.     at wasm-function[80242]:0x17cd619
    145.     at wasm-function[79537]:0x17ac157
    146.     at wasm-function[4529]:0x1f15bc
    147.     at wasm-function[4528]:0x1f14e5
    148.     at wasm-function[10588]:0x433aa7
    149.     at wasm-function[10586]:0x433998
    150.     at wasm-function[10636]:0x435e65
    151.     at wasm-function[10626]:0x4350cf
    152.     at wasm-function[7830]:0x2fe453
    153.     at wasm-function[10610]:0x434a2d
    154.     at wasm-function[4854]:0x211582
    155.     at wasm-function[4852]:0x211481
    156.     at wasm-function[9615]:0x3e12f2
    157.     at wasm-function[9607]:0x3df8a4
    158.     at wasm-function[9608]:0x3dfc5f
    159.     at wasm-function[9603]:0x3df179
    160.     at wasm-function[10867]:0x44f94b
    161.     at wasm-function[10866]:0x44f634
    162.     at wasm-function[10864]:0x44f51b
    163.     at wasm-function[10860]:0x44ef00
    164.     at wasm-function[10854]:0x44ea56
    165.     at wasm-function[10716]:0x43c0ea
    166.     at wasm-function[10715]:0x43bc79
    167.     at Object._main (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:503217)
    168.     at Object.callMain (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:557395)
    169.     at doRun (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558071)
    170.     at run (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:558239)
    171.     at runCaller (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:557014)
    172.     at Object.removeRunDependency (blob:http://somewebsite.com/69f781cb-bd22-47ef-9a6c-b817a133e884:8:28777)
    173.     at processDataJob (http://somewebsite.com/cube/Build/UnityLoader.js:4:5421)
    174.     at i.callback (http://somewebsite.com/cube/Build/UnityLoader.js:3:19246)
    And heres my build settings for webgl




    Hope you guys can help me :)
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Does this happen with all browsers or just a specific one?
     
  3. G4den

    G4den

    Joined:
    Oct 30, 2016
    Posts:
    7
    I've tried chrome, chrome incognito, and edge.

    also tried running it locally, and also tried running it on my website.

    I've also tried running it on another system. Still doesn't work
     
  4. G4den

    G4den

    Joined:
    Oct 30, 2016
    Posts:
    7
    Now I've also tried building using the 2020.1.0a23 alpha version on the same project. Still doesn't work.

    I've tried building another project and it's working just fine, so it's project specific. Now i just have to identify the problem.
     
  5. Baltrisch

    Baltrisch

    Joined:
    Nov 9, 2013
    Posts:
    2
    having the same "Unsupported: 'Hidden/Universal Render Pipeline/BokehDepthOfField' - Pass 'Bokeh Depth Of Field CoC' has no vertex shader" issue