Search Issue Tracker

By Design



Found in





Issue ID




WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression



How to reproduce:
1. Open the “WebGLGZCompressionIssue“ project
2. Make sure to switch the Platform to “WebGL” (File > Build Settings > “WebGL” > “Switch Platform”)
3. Make sure “Compression Format” is set to “Gzip” (Edit > Project Settings > Player > Publishing Settings)
4. Make sure to enable “Development Build”
5. Build the Player
6. Inspect the contents of the “Build” folder

Expected result: Files with the “.gz” extension are present
Actual result: No files with the “.gz” extension are present

Reproduced with: 2021.3.37f1, 2022.3.26f1, 2023.2.19f1, 6000.0.0b16

Reproduced on: macOS 14.4.1 (M3) (by reporter), Windows 11
Not reproduced on: No other environment tested

1. Make sure to do “Clean Build” when upgrading or downgrading the project to consistently reproduce the issue
2. Detailed actual and expected results are provided in the internal comments
3. Not reproducible in a new project
4. Not reproducible when “Development Build” is disabled

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug, as it is by design that Compression Formats for WebGL only impact Release builds.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.