HTML5 build crashes with out of bounds memory access

#1

The game crashes when loading a collection with

exception thrown: Error: Out of bounds memory access (evaluating 'Module["asm"]["dynCall_vi"].apply(null,arguments)'),<?>.wasm-function[11911]@[wasm code]

I tried increasing the heap size further and it doesn’t seem to change anything.

Game repo: https://github.com/dapetcu21/brain-please-dont

Only NEs used are FMOD and defos (and I’m not making any FMOD or defos calls during that collection load).

UPDATE: Got it working by reducing the size of an atlas from 8k to 4k, but the crash is still weird. Last commit that still crashes is 8a19903

1 Like