Skip to content

Web Editor – "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'msg_send_queue')" #99818

Open
@Meorge

Description

Tested versions

  • Reproducible in 4.4.dev [0eadbdb]

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:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'msg_send_queue')
    at Object.sendmsg (godot.editor.js:5034:14)
    at Object.write (godot.editor.js:4640:28)
    at Object.write (godot.editor.js:3478:42)
    at ___syscall_sendto (godot.editor.js:5428:17)
    at godot.web.editor.dev.wasm32.wasm.sendto (godot.web.editor.dev.wasm32.wasm-7f02190a:0x3816d24)
    at godot.web.editor.dev.wasm32.wasm.send (godot.web.editor.dev.wasm32.wasm-7f02190a:0x3816d11)
    at godot.web.editor.dev.wasm32.wasm.__netlink_enumerate (godot.web.editor.dev.wasm32.wasm-7f02190a:0x37e8599)
    at godot.web.editor.dev.wasm32.wasm.__rtnetlink_enumerate (godot.web.editor.dev.wasm32.wasm-7f02190a:0x37e852c)
    at godot.web.editor.dev.wasm32.wasm.getifaddrs (godot.web.editor.dev.wasm32.wasm-7f02190a:0x37e5bfc)
    at godot.web.editor.dev.wasm32.wasm.IPUnix::get_local_interfaces(HashMap<String, IP::Interface_Info, HashMapHasherDefault, HashMapComparatorDefault<String>, DefaultTypedAllocator<HashMapElement<String, IP::Interface_Info>>>*) const (wasm://wasm/godot.web.editor.dev.wasm32.wasm-7f02190a)

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

scons platform=web target=editor

Run the web editor:

python platform/web/serve.py

and select godot.web.editor.dev.wasm32/ from the directory listing, then godot.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...

Godot Engine v4.4.dev.custom_build.0eadbdb5d (2024-11-28 14:08:33 UTC) - https://godotengine.org
OpenGL API OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium)) - Compatibility - Using Device: WebKit - WebKit WebGL

...but after that, the JavaScript error written above.

A full image of the JavaScript console for reference:
Image

Minimal reproduction project (MRP)

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions