6

We have uploaded unity application to hostinger. When we launch index.html from app - getting error:

Unable to parse Build/build.framework.js.br! This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: br" present. Check browser Console and Devtools Network tab to debug.

1
  • Did you follow unity’s webserver instructions or assume to allow certain compressions? This is common with the assumptions or older instructions
    – BugFinder
    May 31, 2022 at 19:19

1 Answer 1

9

You have compression enabled for you project. Go to Project Settings -> Player -> Publishing Settings on WebGL tab - and you can change your compression format to Gzip or disable it altogether.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.