Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Solution to the problem with serving compressed WebGL builds.

Discussion in '2021.1 Beta' started by Steven_Damian, Mar 15, 2021.

  1. Steven_Damian

    Steven_Damian

    Joined:
    Mar 1, 2021
    Posts:
    65
    So i faced some problems last week trying to serve brotli and gzip compressed WebGL builds. It turned out that the problem was that some servers have as default the Allow Override set to None instead of All in the configuration file (for ex. in apache2 apache2.conf or httpd.conf ) . You should allow .htaccess files to your server so that the code can work. With nginx it's a little trickier and would advice you to go with apache2 or try finding solution for nginx too. Thank you.