Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved How to fix " Unable to parse Build/GameName.framework.js.br"

Discussion in 'Web' started by Chazzwazzler, Dec 12, 2021.

  1. Chazzwazzler

    Chazzwazzler

    Joined:
    May 2, 2018
    Posts:
    35
    On my webgl build I keep getting this error. I've tried reexporting to see if that would fix it, but it hasn't. How do I fix this?
    upload_2021-12-12_16-49-25.png
     
    deus0 likes this.
  2. Darkgaze

    Darkgaze

    Joined:
    Apr 3, 2017
    Posts:
    381
    Same problem here. But similar error:

    Unable to parse Build/TESTSCENE.framework.js.br!
    If using custom web server, verify that web server is sending .br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported over HTTP connections. Migrate your server to use HTTPS.

    Compiling with 2021....

    I created a compilation a couple of months ago and it worked. No idea why this is happening.
    I get rejected access to the il2cpp cache folder in Library/ when compiling in a previous unity version.
     
    deus0 likes this.
  3. Darkgaze

    Darkgaze

    Joined:
    Apr 3, 2017
    Posts:
    381
    I just tried and didn't get any error after compiling in v2019.
     
    deus0 likes this.
  4. Chazzwazzler

    Chazzwazzler

    Joined:
    May 2, 2018
    Posts:
    35
    Alright, I simply fixed it by disabling compression here: upload_2021-12-20_21-16-53.png
    Now my game works.
     
    s38655487 and Gebolho like this.
  5. unity_4B79BFA441CE9F5517D4

    unity_4B79BFA441CE9F5517D4

    Joined:
    Jul 9, 2022
    Posts:
    1
    T
    Thanks ALOT BRADER YOU HELP I WAS ALREADY WANNA CRY BECAUSE OF IT BUT BECAUSE OF YOUR COMMENT IT'S REALLY HELPED THANKS ALOT BRO
     
  6. davidepopa127

    davidepopa127

    Joined:
    Apr 1, 2021
    Posts:
    1
    motherfucker this S*** dont work
     
  7. NSWell

    NSWell

    Joined:
    Jul 30, 2017
    Posts:
    89
    Broti or Gizp compresion must be running in the HTTPS
    - If your project compression format is Brotli
    - Open `BuildSetting`->`Build And Run` it will be working.

    Or you can turn off compression
     
  8. brendanduncan_u3d

    brendanduncan_u3d

    Unity Technologies

    Joined:
    Jul 30, 2019
    Posts:
    419