Search Unity

Changed my Unity version from 2019 to 2020 now WebGL not working

Discussion in 'Web' started by Yishai_Q, Jun 21, 2021.

  1. Yishai_Q

    Yishai_Q

    Joined:
    Nov 17, 2020
    Posts:
    30
    Hi,
    I've updated the Unity version which I use to create my WebGL application, and now the build folder is filled with GZIP files, before it was not, and these files don't work on my site. I've checked with this tool:
    https://smallseotools.com/check-gzip-compression/
    and my site is supporting GZIP. What could be the problem?
     
  2. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
  3. Yishai_Q

    Yishai_Q

    Joined:
    Nov 17, 2020
    Posts:
    30
    Thanks for the answer,
    on the first link I saw this:
    "Disables compression. Use this option if you want to implement your own compression in post-processing
    scripts. You should also use it if you plan to use static compression on the hosting server."
    What is the meaning of static compression. I know that my server is supporting GZIP compression. I checked on this link: https://smallseotools.com/check-gzip-compression/
    Does this mean "use static compression on the hosting server"?
    And why should I not use compression? because the server is using it already, and there is no need, or will it also cause conflict and cause my WebGL build not to work?