Very cool music! What is the license?
Kettlecorn
Creator of
Recent community posts
Very fun!
But weirdly I hit a crash after playing for a few minutes. I'm using Safari 15.2. Probably a bug in Unity?
Copy-pasted here:
See your browser JavaScript console for more info. The error was:
RuntimeError: Out of bounds memory access (evaluating 'dynCall_v.call(null,func)')
<?>.wasm-function[1558]@[wasm code]
<?>.wasm-function[588]@[wasm code]
<?>.wasm-function[11453]@[wasm code]
<?>.wasm-function[18392]@[wasm code]
<?>.wasm-function[11455]@[wasm code]
<?>.wasm-function[18395]@[wasm code]
<?>.wasm-function[43349]@[wasm code]
<?>.wasm-function[18402]@[wasm code]
<?>.wasm-function[43361]@[wasm code]
<?>.wasm-function[20686]@[wasm code]
<?>.wasm-function[20686]@[wasm code]
<?>.wasm-function[17212]@[wasm code]
<?>.wasm-function[36633]@[wasm code]
wasm-stub@[native code]
browserIterationFunc@https://v6p9d9t4.ssl.hwcdn.net/html/5534180-543554/Build/Claustrowordia.framewor...
callUserCallback@https://v6p9d9t4.ssl.hwcdn.net/html/5534180-543554/Build/Claustrowordia.framewor...
runIter@https://v6p9d9t4.ssl.hwcdn.net/html/5534180-543554/Build/Claustrowordia.framewor...
Browser_mainLoop_runner@https://v6p9d9t4.ssl.hwcdn.net/html/5534180-543554/Build/Claustrowordia.framewor...
Safari just reenabled support for SharedArrayBuffers (https://webkit.org/blog/12140/new-webkit-features-in-safari-15-2/). So now Chrome, Safari, and Firefox all support SharedArrayBuffers provided the correct cross origin flags are set on the server.
Some additional info: I noticed there's now a concrete date when Chrome will require cross-origin isolation to use SharedArrayBuffers: July 20th.
Chrome 92 is making these changes and it will start rolling-out July 20th: https://blog.chromium.org/2021/06/chrome-92-web-apps-as-file-handlers-new.html
Thanks! This is the page I've been testing my engine on: https://kettlecorn.itch.io/rusty-audio-test
If you can flip the switch for that page that would be excellent!
I've been writing a custom engine for web using WebAssembly. It has some cool stuff like procedural audio that's shown off a tiny bit in this demo.
To make that audio work I need SharedArrayBuffers, and SharedArrayBuffers require CORS flags to be set as detailed here: https://developer.chrome.com/blog/enabling-shared-array-buffer/
Right now my engine works on itch.io in Chrome without the CORS headers set, but that's temporary and Chrome will be disabling support next month. It's likely very difficult to make my engine work without SharedArrayBuffers, but I'd really like to host my future work on itch.io.
I noticed there was some discussion of this issue around half a year ago: https://itch.io/t/1028526/cross-origin-policies-for-webassembly
Has any further progress been made on this front?