Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

WebGL compressions issues on 2020.2.0f1?

Discussion in 'WebGL' started by MildakZebrak, Jan 6, 2021.

  1. MildakZebrak

    MildakZebrak

    Joined:
    Sep 21, 2017
    Posts:
    18
    Hi
    it seems I've got an issues with (de)compressing webGL app:
    No matter if I select Gzip nor Brotli webGL compression, the app does not load in the browser.
    1/ The same project builds in previous Unity version worked without problems
    2/ When I do "developer version" of the build, it works well as well
    3/ if I select compression as "none", it works well (but the resulting app is obviously much bigger)

    does anyone else experence such issues?

    thanks
    Milan
     
  2. sumpfkraut

    sumpfkraut

    Joined:
    Jan 18, 2013
    Posts:
    241
    2020.1 had the same problem.
    My only solution is to build without compression.

    And it's also not a server setting. i have old builds with compression and they wok.
     
  3. MildakZebrak

    MildakZebrak

    Joined:
    Sep 21, 2017
    Posts:
    18
    I've already raised bug. So we'll see...
     
  4. lightmapper

    lightmapper

    Joined:
    Jan 14, 2015
    Posts:
    27
    I have a similar problem on 2020.2, is your project presenting an error?
     
  5. MildakZebrak

    MildakZebrak

    Joined:
    Sep 21, 2017
    Posts:
    18
    Hard to say. No error in editor. No error when I build developer version. The packed version I don;t know since it throws exeptions only.
    Plus this occurs with ANY project, even newly created with really simple scene (camera+light+box, no interaction whatsoever)
     
  6. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    944