Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

WebGL scene won't run after uploading

Discussion in 'WebGL' started by squirt, Aug 1, 2020.

  1. squirt

    squirt

    Joined:
    May 12, 2011
    Posts:
    26
    So I've built a WebGL world. After it builds, Unity opens it for me in a browser, and it works just fine. But for some reason it will not work after I upload it to a folder on my website. The page opens, the file loads to about 90%, and it just hangs there. I have tried it with three different browsers.

    I seem to recall having this issue with other WebGL experiments using other programs. Might it have something to do with my hosting site? I use GoDaddy.

    Thank you.
     
  2. squirt

    squirt

    Joined:
    May 12, 2011
    Posts:
    26
    I solved it! I went into the settings and disabled file compression. It makes the export about 20 Mb larger, but it works now! For future reference, might there be a way to make it so I don't need to do that?
     
unityunity