Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

wcoastsands

28
Posts
15
Topics
11
Followers
20
Following
A member registered Nov 10, 2014 · View creator page →

Creator of

Recent community posts

(12 edits)

Hey folks, feature suggestion for the itch app. It'd be nice if we could specify a channel as a beta or test channel to allow users the option to pick a version to run. 

This primarily affects HTLM5 games, since only one channel can be set to "Played in the browser". If we could allow more than one channel to be set to "Played in the browser" while specifying one of them as the default channel, this would load the the default channel in the browser while allowing itch app users to select from any HTML5 channel at launch, and still hide the download for each HTML5 channel on the store page.

A more elegant option may be to add an HTML5 platform to the list of platforms. This would avoid the need to specify a default channel. The channel specified as "played in browser" would be the one that loads in browser, while any channel specified as HTML5 would appear as an option in the launcher.

I've basically accomplished this using currently available options with the following steps: 

  1. Set the test channel as "played in browser" 
  2. Install the test channel via the itch app
  3. Set the main channel back to "played in browser" 

The test channel is set back to "hide this file" to prevent it from showing as a download on the store page, while still appearing in the itch app launcher after being installed. 

Because these steps require special access as a developer, the average user doesn't have this option. Having this option would allow users to participate in open betas using the itch app while the stable channel is played in browser by default.


Issue appears to be resolved with the latest version 25.5.1.

(3 edits)

This issue is specific to the itch app, and occurs when launching WebGL builds made with Unity 2020 and 2021 (Decompression Fallback enabled). 

The following errors appear under the JavaScript Console tab in Developer Tools (press Shift+F12 after launching the game):

SnapWords.loader.js:1 failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder 
SnapWords.loader.js:1 CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder at blob:itch-cave://game.itch/5a05f7d0-ceae-49fc-8481-c88094ce1483:2:24961

This appears to be a Content Security Policy (CSP) issue with the Chromium integration in the itch app.

Examples:

This issue does not occur with WebGL builds made with Unity 2019:

navigator.appVersion
"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) itch/25.4.1 Chrome/85.0.4183.84 Safari/537.36"

Looks like the Alpha was taken down in preparation for an updated version, but this was mentioned in a post from June. More details on ModDB.