Over the past week I have been working taking an already existing Unity Web project and building it for WebGL. However I have ran into a couple concerning things during my tests. I tried 3 different builds, One that had an empty scene with a cube, another with an empty scene and a 3d model, and a final scene that contained my previous app.
All of these scenes contained the following optimizations
- no audio
- optimization level Fastest
- no exceptions
- using stripping
- GZip on the server
- Quality settings low
With all of this the fastest first run load I could get was 10-13 seconds. After the initial load the refresh was loading in ~5 seconds.
So now I propose my questions.
Is there anyone that has been able to get a 5-10 mb build to load in under 5 seconds the first time around? The build I am testing loads that fast in WebPlayer
Are there any upcoming optimizations or changes in future unity releases that should alleviate these issues? If so what would be the timeline for these changes?