Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

help

A topic by aake1234 created Jun 19, 2023 Views: 540 Replies: 2
Viewing posts 1 to 3

.Unable to parse Build/Downloads.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.


-> Why are you getting this error message?

Are you building to webgl with Unity? If so change the compression in Project settings Player Publishing settings (HTML5) Compression format to Gzip. Brotli is a bit more space-efficient and the default for Unity web builds but itch has trouble detecting it.

Show post...

The error message you provided suggests that there is an issue with parsing the file "Build/Downloads.framework.js.br." This error can occur when the build compression is enabled, but the web server hosting the content is misconfigured and not serving the file with the appropriate HTTP response header "Content-Encoding: br," which indicates that the file is compressed using the Brotli algorithm.

To debug this issue, you can follow these steps:

Check the browser console: Open the developer tools in your browser and navigate to the Console tab. Look for any specific error messages or warnings related to the parsing of the file.

Inspect the Network tab: In the developer tools, switch to the Network tab and locate the request for the "Downloads.framework.js.br" file. Check the response headers for the presence of the "Content-Encoding: br" header. If it's missing or incorrect, it indicates a misconfiguration on the server.

Verify server configuration: Ensure that the web server is properly configured to serve Brotli-compressed files with the correct response headers. This typically involves configuring the server to enable Brotli compression and set the appropriate response headers for Brotli-encoded files.

By resolving the misconfiguration on the server side and ensuring that the file is served with the correct headers, you should be able to eliminate the "Unable to parse" error and successfully parse the "Downloads.framework.js.br" file.

It's worth noting that the specific steps to resolve this issue may vary depending on the web server and configuration you are using. Consulting the documentation or seeking assistance from the web server administrator or support team can provide further guidance in troubleshooting and resolving the issue.

Please let me know if you need any further clarification or assistance. 


MyCCPay Log In