Comments

Log in with itch.io to leave a comment.

:( I get this error when trying the game: `Unable to parse Build/Twist.framework.js.unityweb! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)`

I had a bunch of issues with WebGL too.
For me, the settings I need to have configured were setting the `Code Optimization` on the build settings page to `shorter build time`, then to click `player settings` and change the `compression format` in the `publisher settings dropdown` to `Gzip`.

I also had to make sure there were NO warnings or errors that appeared in the Unity Debug window during build time- or it would have errors.

Something else that helped me debug the WebGL was to use this prompt in ChatGPT: `Imagine you are a master at the Unity Game Engine and Itch.io. You have used Unity for 20 years. I have some questions for you. Reply with "Ready" if you understand.` (I do that so I can edit the responses it gives to keep the context window short for it; long conversations don't go well) then `I created a build in WebGL. If I play it on itch.io, I get this error: ```[paste error here]``` and here's what the dev tools say: ``` [paste the output of the browser console window here; you can open it by pressing CTRL + SHIFT + C in your web browser]``` It then walked me through different things to check.

Best of luck!