godotengine / godot

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

Creating a new EditorSettings variable then run in a visual script reports SOCKET ERROR #24605

Open haizhou37 opened 5 years ago

haizhou37 commented 5 years ago

Godot version: Godot3.1 Aplha4

OS/device including version: manjaro gnome x64 Intel® Core™ i3-2350M CPU @ 2.30GHz × 4 Intel® Sandybridge Mobile OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) Sandybridge Mobile intel hd 3000

Issue description: 2018-12-26 21-41-14 Creating other variable is normal(I just tested a little bit. I can't rule out hiding anything else.).

Steps to reproduce: Creating a new EditorSettings variable

Minimal reproduction project: test11.zip

KoBeWi commented 4 years ago

The project crashes with these errors when run (3.2.2): image There's no backtrace for the crash.

Although seeing the EditorSettings error, I think this is somewhat expected and comes from user error?

akien-mga commented 4 years ago

Yeah the error is expected. There's no crash actually, the scene fails loading due to the error, so the game closes (but does not crash - i.e. no segfault).

Error reporting could be improved on scene load errors in general as they tend to be confusing to users, but it's not a bug per se.

akien-mga commented 4 years ago

Actually, it's a bug that VisualScript lets you create a node of type EditorSettings which breaks the scene.