itchio / itch

🎮 The best way to play your itch.io games
https://itch.io/app
MIT License
2.37k stars 210 forks source link

HTML5 - Wasm code generation disallowed by embedder #2496

Open gumbyscout opened 4 years ago

gumbyscout commented 4 years ago

Itch version: 25.4.1 OS: Windows 10 Game engine: Godot 3.2.2

When trying to run my web app in the itch client, I get the following error, which causes the game to never load: image

I'm not 100% what changed, as a little over a week ago, before we released our game, the game ran fine in the itch app. Tried building a plain non-gzipped build, and it suffers from the same issue.

leafo commented 4 years ago

The latest version of the app has been migrated to the latest version of electron, and it's likely a new security policy was introduced that is blocking WASM.

Xananax commented 4 years ago

This also happens for Godot games.

I think this is the relevant related issue: https://github.com/electron/electron/issues/25127

leafo commented 4 years ago

This appears to have been fixed in latest electron (10.1.5) which was released 5 days ago, I have pushed out a new version of kitch if you're willing to test it.

8f458239c

Instructions on download kitch are available here: https://github.com/itchio/kitch (note if you've already installed kitch, you can use the autoupdater to get the latest version)

Edit: I was able to verify that WASM games are working again.

gumbyscout commented 4 years ago

I can also confirm, that my godot WASM game is working again using the latest version of kitch!