godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Web export fails due to Uncaught LinkError

Open 2shady4u opened this issue 6 months ago • 1 comments

Godot version

v4.3-stable

godot-cpp version

4.3

System information

Windows 10

Issue description

Exporting to web fails because of following error:

TypeError: a.default.detectStore(...) is undefined h1-check.js:1:1301
Uncaught (in promise) LinkError: imported function 'env._ZNSt3__29to_stringEx' signature mismatch

I have tried exporting with both threads enabled and disabled and I get the same issue. I used Firefox, Chrome and Vivaldi and all of them report the same error.

My build system uses Emscripten v3.1.39 and can be found here: https://github.com/2shady4u/godot-sqlite

Steps to reproduce

  • Run the minimal reproduction project
  • Open the 'Web Developer Tools' in your browser.
  • Observe the error.

Minimal reproduction project

demo.zip

2shady4u avatar Aug 18 '24 14:08 2shady4u