unity-game-enginewebgl

Unable to parse Build/build.framework.js.br


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.


Solution

  • 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.