-
-
Notifications
You must be signed in to change notification settings - Fork 22k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web Editor – "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'msg_send_queue')" #99818
Comments
After rebasing on master, updating Emscripten, clearing my browser cache, and uninstalling the service worker in my browser, I'm not getting this error anymore, but now a different one:
However, I'm not sure if this means the previous bug was fixed and now I'm "closer" to having the web editor running, or if this new message is preventing the |
Which Emscripten version are you using? Official builds use 3.1.64, and there are know issues with 3.1.71+. |
Looks like I'm on 3.1.74 right now; I'll see if I can try switching it to 3.1.64 and get it to run there. |
With 3.1.64 of Emscripten I'm getting a different error:
|
Relates to emscripten-core/emscripten#23046. |
This doesn't seem to affect the official builds for the editor: https://editor.godotengine.org/releases/4.4.beta2/ They're made with Emscripten 3.1.64 and the command from here: https://github.com/godotengine/godot-build-scripts/blob/main/build-web/build.sh#L49
Could you check if using the same version and option works around the issue? |
I suspect your issues might be caused by the same problem as #100841 (comment) - a mismatch between versions of various components of the Emscripten stack. |
Assuming this hypothesis is correct: #100841 (comment) |
This is not enough, unfortunately. Yes, you need to run |
Well, simultaneous good news and bad news on my end... I checked out 0eadbdb and ran
then
with the hope of re-triggering the error since it was on an old commit, but now it's consistently working fine for me. My only guesses here are that I'm either not completely clearing caches somehow, or while trying to fix this problem, I fixed a broken Emscripten installation that was the root cause of everything 😅 If it's also building fine for others, I suppose we can close this issue then? |
Closing as resolved, then. I didn't have this issue for a while now. |
Tested versions
System information
Google Chrome 131.0.6778.86 on macOS Sequoia 15.1.1 with Intel processor
Issue description
Following the instructions for Building the Editor on Compiling for the Web, the Loader screen (where a project ZIP can be selected) appears correct but when I attempt to load the actual editor, it gets stuck on the Godot splash screen.
In the JavaScript console, I see the following error:
Resizing the window causes the Godot splash screen to disappear and be replaced with a pure black screen.
Steps to reproduce
Build the editor for web using
Run the web editor:
and select
godot.web.editor.dev.wasm32/
from the directory listing, thengodot.editor.html
.The loader screen should appear correctly. Open the JavaScript console. Click "Start Godot editor".
You should see the usual output from Godot's console on startup...
...but after that, the JavaScript error written above.
A full image of the JavaScript console for reference:

Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: