If you've ever seen this in the console:

Uncaught ReferenceError: SharedArrayBuffer is not defined

Enter fullscreen mode

Exit fullscreen mode

or your multithreaded WebAssembly quietly fell back to a single thread, the cause is almost always the same thing: your page is not cross-origin isolated. Here's what that means, why the browser does it, and exactly how to fix it.