[Solved]Unity 2020 WebGL build fails to load

Edit: Solved it! [SOLVED] Unity 2020 WebGL Doesn't work Uncaught SyntaxError: Invalid or unexpected token

I followed a 2D shader graph tutorial and used the URP in 2020.1.0a22, but when I upload the build the loading bar gets stuck around 4/5th of the way (I tried Newgrounds and Kongregate).

So I made a new 2D project in 2020.1.0b7, didn’t import the URP nor any packages, added nothing but one sprite to the game, but when making and uploading the build it’s the same error.

I tried to disable data caching, same error.

Any idea on how to solve this? I would love to use 2D shader graph for webGL.

Do you mind sharing how you solved it ?

This solved it for me. https://discussions.unity.com/t/702519/17

TLDR: Disable compression in Player Settings.

I am having an identical issue and it doesn’t actually work for me. Still stuck at 90%

Same here, I turned off compression, made the textures as small as possible, but still the loader doesn’t get past 90%…

So i had the same issue. I solved it by doin the following:

-Delete data base from indexDB.
-Clear local storage.
-Clear session storage.