Can't run my project under Ubuntu 24.04

Godot Version

4.2.2 stable
Ubuntu 24.04

Question

Hi, I developped a run and jump game with Windows and I’d like to publish a Linux version.
I booted Ubuntu 24.04 and downloaded Godot stable 4.2.2 appImage and opened my project.
Unfortunately, when I try to run the game nothing happens and the console shows an error :

============================================================
Running: /home/benoit/apps/Godot_v4.2.2-stable_linux.x86_64
–path
/home/benoit/developpement/izalysworldgodot/godot_project
–remote-debug
tcp://127.0.0.1:6007
–editor-pid
5780
–position
320,199
res://titleScreen/titleScreen.tscn
Socket error: 0
Error when polling socket.
Socket error: 0
Error when polling socket.
— Debugging process stopped —

I can run the game in browser mode, though.

I don’t understand where does this socket error comes from, my game has not network feature. “Remote debug” in the Debug top menu is unchecked. Since the console does not provide additional information, I really don’t know where to look.

If I create a empty project, I can run it and it shows an empty gray window without error.

Here’s a link to the game if you’re interested :

Thank you very much !

have you tried using a linux export template from windows? and just running the executable version of the game instead of the project?

Godot editor will be using sockets to setup a debug server. That is my only thought.

is the windows project developed with 4.2.2?

Thank you for your answer ! I successfully exported a Linux executable from Windows and ran it from Linux, I had a more explicit error : it tried to write some log files in D:/dev/ .

I remembered I changed the log path about one year ago when I started the project in Project Settings → Debug → File logging → log path. I reset it to “user://logs/godot.log” and now I can run the game from Linux :slightly_smiling_face:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.