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 unsupported MIME type

Discussion in 'WebGL' started by ldtj385, Jan 31, 2022.

  1. ldtj385

    ldtj385

    Joined:
    Aug 20, 2013
    Posts:
    1
    I'm starting a new blank project for webgl. I'm using Unity 2020.3.26f1 (LTS). When I launch the project on my wamp server I get this error:

    wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type 'application/x-gzip' expected 'application/wasm'

    falling back to ArrayBuffer instantiation


    This doesn't happen when I press the build and run button. Is there some server configuration that I missed or it is a Unity bug?
     
    nirs777 and RamblingCoder like this.
  2. exafred

    exafred

    Joined:
    Aug 23, 2013
    Posts:
    2