godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.64k stars 19.32k forks source link

Web Editor crashes on clicking Play/F5 #49894

Open nathanjwtx opened 3 years ago

nathanjwtx commented 3 years ago

Godot version

Web Editor v3.3.2

System information

Windows 10

Issue description

I am getting the errors displayed below on every project I have tried to run from the Web Editor.

I tried switching between GLES2 & 3 with the same outcome.

Edge v91.0.864.54

image

Steps to reproduce

In theory, create a project in the version of Edge given above, then try to run it.

Minimal reproduction project

No response

nathanjwtx commented 3 years ago

I get the exact same errors when trying under FireFox 89.0.2

Calinou commented 3 years ago

These errors are expected as the debugger protocol is not implemented in HTML5. The project should still run as expected (check the Game tab at the top), but debugging features will not be available. We should silence those error messages and replace them with a single warning stating that debugging features aren't available in HTML5.

The HTML5 debugger protocol implementation can only be done in 4.0 or later because it relies on the editor debugger rewrite.

nathanjwtx commented 3 years ago

Is this something that happens even if not debugging?

Calinou commented 3 years ago

Is this something that happens even if not debugging?

Yes, the remote debugger is also used to display the project's printed messages to the editor's Output tab. It's also used for editor camera replication and the profiler.

Faless commented 3 years ago

You mention a "crash"... in the title. Does it actually crash? Does the game not run?

nathanjwtx commented 2 years ago

no, i don't think it does actually run; just slow to start. Guess I was being impatient :)

lmsonic commented 1 month ago

It runs for me on Windows 10 using Firefox 126.0.1 in Godot 4.2.2 (latest), using an empty project. Loads pretty fast also. Though I noticed clicking the X near Game doesn't actually close the game, only switches to Editor.