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

Bug Decompression fallback not working with Brotli

Discussion in 'WebGL' started by jonkuze, Aug 22, 2023.

  1. jonkuze

    jonkuze

    Joined:
    Aug 19, 2012
    Posts:
    1,685
    I'm getting the following error when I have Brotli enabled and Decompression fallback enabled. Note: Hosting on Cloudflare Pages + R2 Storage.

    Code (JavaScript):
    1. Unable to parse https://badlands-r2.eonfall.dev/Build/WebGL.framework.js.unityweb! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)


    How can I fix this?
     

    Attached Files:

  2. jonkuze

    jonkuze

    Joined:
    Aug 19, 2012
    Posts:
    1,685
    Please Ignore. It seems Cloudflare was taking a long time to refresh and load the latest build I pushed. It's working now!! Thank goodness :D
     
    unityruba likes this.