Running into WASM "bugs"

Using the default VM makes errors a bit cryptic, so they may not actually be what you are seeing. Try enabling developer VM, its errors are much more human-readable.

Plugins → Development → Use developer VM