You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Godot 4.3, everything loads and no errors are printed to the output. In the sand-slide/game/bin/fallingsand folder, I have:
fallingsand.gdextension
libgdfallingsand.linux.template_debug.x86_64.so
libgdfallingsand.web.template_debug.wasm32.wasm
Exporting the game to release/web_build/index.html (default settings as you have left it) and then running the game with the "Remote Debug" button on the top-right will give the error in the browser console:
LinkError: imported function 'env.__addtf3' signature mismatch
Am I missing any steps to compile and run on the web?
The text was updated successfully, but these errors were encountered:
Thanks for the report, I've been having this issue as well. You followed all of the steps correctly; The only solution I have right now is to use Godot 4.2.2 stable and possibly switch to an older sand-slide commit if the process of downgrading to 4.2.2 doesn't go smoothly. I haven't been able to debug why this occurs, as Emscripten gives very little information on what went wrong during the WASM compilation. I've tried every Godot 4.3 snapshot as well as older versions of Emscripten and they all seem to have the same error.
I'm on a Linux (Ubuntu 22.04) system and I have done the following to test out your game!
git clone https://github.com/kiwijuice56/sand-slide.git cd sand-slide git submodule update --init scons scons platform=web
In Godot 4.3, everything loads and no errors are printed to the output. In the
sand-slide/game/bin/fallingsand
folder, I have:libgdfallingsand.linux.template_debug.x86_64.so
libgdfallingsand.web.template_debug.wasm32.wasm
Exporting the game to
release/web_build/index.html
(default settings as you have left it) and then running the game with the "Remote Debug" button on the top-right will give the error in the browser console:Am I missing any steps to compile and run on the web?
The text was updated successfully, but these errors were encountered: