godotengine / godot

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

Socket Error 54 #27791

Open trumanellis opened 5 years ago

trumanellis commented 5 years ago

Godot version:

3.1.stable.mono.official

OS/device including version:

MacOS Mojave

Issue description:

I downloaded the procedural planet generation project from: https://github.com/Bauxitedev/stylized-planet-generator But when I try to run it, I get the following error: Debug Process Started drivers/unix/net_socket_posix.cpp:199 - Socket error: 54 Debug Process Stopped

Steps to reproduce: Download this github project and try to run.

Minimal reproduction project:

See the github project.

qarmin commented 5 years ago

Can't reproduce on non mono Godot

Chaosus commented 5 years ago

drivers/unix/net_socket_posix.cpp:199 - Socket error: 54

It's just a crash of the debugger, it happens when the game process is crashed (for whatever reason) It's not clear how to fix it, without MacOS of course, at least it does not happen on Windows, it also can be a driver-related bug

hiulit commented 5 years ago

It happens to me too.

It seems to happen when I have too many Particles2D with different materials. I've tried with 2 and works fine, but with 3, it crashes. I can have 3 or more Particles2D with the same material though.

qarmin commented 5 years ago

Can you provide minimal project?

hiulit commented 5 years ago

Yes, I'll try to post it when I can :) I was following this tutorial, if it helps for the moment https://www.youtube.com/watch?v=RZiLFdUXI2c

robgraeber commented 5 years ago

Try closing the project and re-opening. When I got this error it was because it couldn't find the location of some images after I moved things around.

joshbenner commented 5 years ago

I was hitting this as well, and I can confirm that closing then reopening resulted in it working as expected.

mattrobin commented 4 years ago

Disabling "Wait for debugger" in the "Project > Debugger" settings fixes the issue for me. Of course, since I'm using an external debugger, I would really prefer I did not have to disable this.

In my case, this happened when I cloned the project to a new computer. So I'm not sure whether it's the version of Godot or the version of Mono that's causing the problem. It was working before I moved computers.

Afterwards, I closed and reopened Godot, re-enabled the debugger, and things were working properly.

Not-Nik commented 4 years ago

The issue appears for me when deleting scene dependencies such as materials or other resource files

KoBeWi commented 3 years ago

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?