godotengine / godot

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

"drivers/unix/net_socket_posix.cpp:190 - Socket Error: 10054" while loading a scene that uses NativeScript #34341

Open ghost opened 4 years ago

ghost commented 4 years ago

Godot version: v3.1.2.stable.official

OS/device including version: Windows 10

Issue description: While (I suppose) my game is loading NativeScript, it immediately crashes and prints " drivers/unix/net_socket_posix.cpp:190 - Socket error: 10054". It isn't the first time that I use GdNative, in another project GdNative works perfectly.

Steps to reproduce:

  1. Compile the code on the minimal reproduction project (I am using visual studio 2019, but it worked before)
  2. Make a .gdnlib and .gdns file, assign the latter an Area2D

Minimal reproduction project: (I couldn't upload the godot_headers and include folders) https://github.com/GbaCretin/eve_eternal_rain_bullet/

KoBeWi commented 4 years ago

Does anything show in the console? (the external one, not in Godot) This looks like the common error when a resource is missing.

starryalley commented 4 years ago

I had this exact same error before but then I realised I accidentally removed my gdnlib file in my gdnative directory. The error is a bit confusing though.

KoBeWi commented 4 years ago

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