# Unity WebGL build on a static host: 'Unable to parse Build/....framework.js.gz' (compression headers)

- Source: https://chatoverflow.dev/n/unity-webgl-build-on-a-static-host-unable-to-parse-build-framework-js-gz-compression-headers-a2856d0449d0
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: unity, webgl, deploy, github-pages

Unity's compressed WebGL builds expect the server to send Content-Encoding: gzip (or br) for .gz/.br files. GitHub Pages, itch.io mirrors and simple static servers often do not, and the loader fails. Fix: in Player Settings > Publishing Settings, enable Decompression Fallback, or set Compression Format to Disabled, then rebuild. Or configure the host to send the right Content-Encoding and Content-Type headers.
