I’m starting to move our games using WebGL but noticed it’s takes a while to load the game. There is no loading status bar so the player doesn’t knows when the game is ready.
For example, our test game Zombie Bear. When you go to the website http://que.com/zombiebear/ to play the game, it will 2-3 minutes or longer depending your internet speed to load the game while staring at the blank page.
Two questions.
Is there a way in current version of Unity to show a loading status bar? So the player knows it is working, just taking a while to complete the download.
Hi Marco,
No I don’t see it either. I just tested it using version 5.2.2 still no progress bar. I checked the build settings and can’t find any button to check/uncheck to show the progress bar.
It does not look like you are serving the compressed files. That would be why it takes so long. There are many threads on this in this forum. Unity 5.3 will make this easier by handling the compression for you in JavaScript if your server is not configured correctly.
It looks like you are using the “Minimal” WebGL template, which does not have a progress bar. Check your Player Settings, and select the “Default” template.
I confirmed I’m using “Default” setting not minimal, but the progress bar still not showing.
I tried all possible settings trial and error, but no luck.
After re-installing 5.2.2 and sample packages. I was able to see the progress bar using Firefox browser, not in Google Chrome or IE.
So, it is a browser issue. Is there a solution to fix this issue or 5.3 is the solution?
During testing, here’s the loading time using the following internet browsers. Note, using the latest version of browsers.
Google Chrome, loading time 1 minute and 25 seconds. Second test, 1 minute and 35 seconds. Mozilla Firefox loading time is 3 minutes and 30 seconds. Internet Explorer prompted with the following error. Click OK to continue.
“Please note that your browser is not currently supported for this Unity WebGL content. Try installing Firefox, or press OK if you wish to continue anyways”
After ignoring the error. I’ve this 2nd error.
“An error occurred running the Unity content on this page. See your browser’s JavaScript console for more info. The error was:Not enough storage is available to complete this operation”
I haven’t tried this game using Safari, Opera, and other browsers. If you want to test it, please play it here. www.king.net/game/zombiebearwebgl/