Comment by Someone

4 hours ago

FTA: I was serializing asset structs directly to disk (pak file) that had raw pointers in them

I’m surprised that that works in WASM. Wouldn’t a tiny change in your memory usage (say if you toggle your “log startup progress” flag) load data at a different address?

Usually you do "pointer-fixup" where you convert them to relative-offsets on write and then back to absolute-offsets on read.