News for hackers. Stuff that matters.
Re:Show HN: Unity like game editor running in pure WASM by webprofusion on Wednesday September 27, 2023 @04:29AM (#37671765)
It errored on first go with a blank screen:

Error: Failed to allocate type at x.allocate (worker-3ec07b2e.js:1:3516) at ImportGlGenTexture (worker-3ec07b2e.js:1:7645) at RaverieEditor-60af6467.wasm:0x1d459ee at RaverieEditor-60af6467.wasm:0xedf9e7 at RaverieEditor-60af6467.wasm:0xedf56b at RaverieEditor-60af6467.wasm:0xdffefa at RaverieEditor-60af6467.wasm:0xf213e3

Reloading fixed it, maybe a race condition between setting up the app and it being ready to run.

Re:Show HN: Unity like game editor running in pure WASM by TrevorSundberg on Thursday September 28, 2023 @01:00PM (#37692464)
Hmm, it looks like our call to `gl.createTexture()` returned null. I'm actually not sure what we'd do in that case other than fail with an error dialog.