- Home /
Unity 5.5 WebGL custom template problem
Hello guys, I'm having an issue for a few weeks and can't find a solution anywhere, so I needed to post my problem here and I hope I get my solution soon.
This is the problem:
I am using Unity 5.5(latest) to build a WebGL game. I'm done with my game and all functionalities are working good but I'm facing very big delay before starting unityprogress.js. I'm using a custom template which shows a progress bar which is not shown immediately but having about a minute delay before it shows. And If I disable compression from Player Settings, the delay is gone but I have one strange exception which I haven't faced until now. the exception is:Uncaught TypeError window.unityDecompressReleaseFile is not a function. you can see here:
Can you please help?
Thanks in advance.
Answer by dhanrajsinh24 · Feb 04, 2017 at 10:56 AM
WOW! no one was here to help me, but don't bother now, I've found my solution after a month of research.
The problem was, my apache server was not configured for hosting files using Gz compression. After doing that, It worked fine. It was never Unity or webgl custom template problem, the problem was with my server.
Your answer
![](https://koobas.hobune.stream/wayback/20220612105550im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Does Web GL build supports offline deployment? 2 Answers
Unity WebGL in iOS Safari 1 Answer
Can't export to webGL 2 Answers
Is There Any Ads Networks Are Suppoted For Unity Webgl Games? 0 Answers
How to fix the Chrome Web Player Problem 2 Answers