+2 votes

Hello - very new user here, running into a problem.

(System: Ubuntu 16.04.6 LTS, Mate)

I created my first project (3D), and installed the heightmap addon (xylann.hterrain).

I was able to build a terrain. I saved that as a scene. Created a new scene to be the 'game', and instanced the terrain. Added an Interpolated camera.

When I try to run (F5, neither Deploy with Remote Debug nor Small Deploy with Network FS are checked), Godot launches, then quits immediately with the following error:

drivers/unix/netsocketposix.cpp:199 - Socket error: 104

No other information is given, and I don't have any idea how to find out what's wrong.

As far as I am aware, I am not doing any networking.

I can provide my project files, if someone will explain how to do that here, and the best format for the file/s.

Thanks!

in Engine by (45 points)
retagged by

I have a similar problem and started a thread as well!

If anyone can help please post on either thread

http://godotengine.org/qa/43581/error-net_socket_posix?show=43615#a43615

edit: oh you commented on that thread xD

My problem is slightly different, though it might be the same in the end. I saw that someone posted a solution on your thread related to the project files you posted. Since I don't have any scripts of my own running, I figured I had better post separately.

oh I see (I too am a beginner to Godot)

Also, I found out how to fix it, if it helps, I just commented out all the lines and ran it over and over until I found the troublemaking lines:

if get_point_position(1).abs() - get_point_position(2).abs() < Vector2(1,1):
    set_point_position(1, Destination)
print(get_point_count())

it was painstaking, though it worked

I hope you have better luck with your problems :)

I'm glad you worked around your issue. In my case, the only script I think should be running is the hterrain.gd from the heightmap plugin. I haven't been able to get it to break in the debugger at all - it seems like it never gets as far as loading that script.

Still hoping for some other ideas.

3 Answers

0 votes

Hi All,

I was able to solve my problem - but I haven't figured out the root cause yet.

I was trying to keep my project on a USB flash drive, so it would be portable and easy to back up.

I decided to copy it to my main drive, to see if the flash drive made a difference.

I opened godot from the new location, and used 'Import' to bring in the project. The import process showed a Load Error - my HTerrain was missing it's data resource. Now, I'm certain this is set up correctly on the flash drive...

I reset the data setting in the heightmap inspector, and ran the project. It worked as expected. Yay!

I have no idea if the problem is related to running from a flash drive, or that somehow the data resource that I clearly established for the heightmap terrain was lost.

I hope this information helps someone else. And I'm off to the races :)

by (45 points)
0 votes

Got the same Error as well and couldn't figure out where it came from. By loading the project (restarting Godot) I got an dependency error (Missing material). Fixing this dependency or in my case just removing the Node that used it solved the Problem.

by (18 points)
0 votes

Hi folks, I was getting this error after installing Godot on Kubuntu on an old laptop. Turned out my graphics card can't handle gls3 and allowing fallback to gls2 stopped the error happening in debug and when exporting an application. You can enable fallback in the project settings - rendering quality section. Hope this helps someone..
Screenshot of rendering quality settings below

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories