Problems with WebGL - Works locally, does not work on server

Hello everyone,

We are having problems with WebGL.

Here is what we did, we made a super simple game to test on WenGL.
I’ve build it with the following settings:

  • Optimization level - Fastest (very slow builds)
  • Development build - Not checked
  • WebGL Memoery Size - 256
  • Enable Exceptions - None

** Note: our game does not have any ‘try catch’ in it at the moment

When testing locally using Firefox, everything is working as expected.

After uploading all the files to the server and trying to open it, the loading bar appears but when its done, the Unity splash screen does not appear and we get this:

So we triad with the following settings :

  • Optimization level - Fastest (very slow builds)
  • Development build - Checked
  • WebGL Memoery Size - 256
  • Enable Exceptions - Full

Now it worked, we can see the game. The problem is, All the GUI is messed up (we are using the new GUI) and the buttons are not responding.
The log shows this:

Now I triad opening it again (just refreshing the page), and its stuck on the loading bar telling me something about loading dependencies.

Any help will be appreciated.

Real WebGl Hosting: https://cpanel.hostinger.ru/. Without problem create http://www.myunity5.zz.mu/. Sorry for my English. Upload 69mb.

The log looks like the data file it is downloading does not match the expectations. Try clearing your browser cache?

@jonas-echterhoff_1 I’ve cleard the cache and now its just stuck on loading bar (about half way) and does not give any errors (this is the dev build).