Open
Description
Tested versions
Godot 4.4-stable, Emscripten 4.0.6.
System information
Godot v4.4.stable - Windows 11 (build 26100) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Quadro RTX 5000 with Max-Q Design - Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 threads)
Issue description
Every project (doesn't matter if it's empty or not) that is exported using a Web export template compiled with Emscripten 4.0.6 will always return this error when first launching, then the game is frozen: Uncaught (in promise) LinkError: import object field 'godot_audio_worklet_state_add' is not a Function
Steps to reproduce
- Install Emscripten v4.0.6 & Godot 4.4.0.
- Install SCONS.
- Download Godot 4.4.0 source code.
- In the source code's directory launch the Command Terminal on Windows.
- Run the EMSDK environment.
- Now run this command to start compiling the export template:
scons platform=web target=template_release tools=no lto=full production=yes
- After you receive the text saying the compilation has completed, navigate to the
bin
directory within the Godot source directory, there should be a zip. - Create a blank Godot project with a starting scene (can be empty).
- Export the project with the export template set to the zip you navigated to earlier.
- Launch the local server & open the page in your browser (I used Firefox).
- Open the browser's terminal.
- Observe the error located within the terminal & the project is stuck in it's loading screen frozen.
Minimal reproduction project (MRP)
No MRP.
Metadata
Metadata
Assignees
Type
Projects
Status
For team assessment
Status
For team assessment