Why is server build not working?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By h4v0c

Hello,

I have been trying to get the linux server build to run my project for 2 days. I’ve scoured the internet looking for a tutorial or guide, or even someone else having the same trouble.

OS: Ubuntu 18.04.2 LTS (Bionic Beaver)
Editor: Godot 3.0.6-stable (downloaded from godotengine.org)
Binary: Godot_v3.0.6-stable_linux_server.64 (downloaded from godotengine.org)

I’ve tried a few different command line arguments, mostly based on running --help with the server binary.

The errors from running the server binary in the project folder with no arguments:

ERROR: initialize: AudioDriverManager: all drivers failed, falling
back to dummy driver At: servers/audio_server.cpp:165. ERROR:
set_locale: Condition ’ !is_locale_valid(trimmed_locale) ’ is true.
At: core/translation.cpp:943. ERROR: _load: Method/Function Failed,
returning: RES() At: core/io/resource_loader.cpp:186. ERROR: poll:
res://assets/models/floors/floor_simple.tscn:4 - Parse Error:
[ext_resource] referenced nonexistent resource at:
res://textures/mv_palette.png At:
scene/resources/scene_format_text.cpp:439. ERROR: load: Condition ’
err != OK ’ is true. returned: RES() At:
core/io/resource_loader.cpp:149. ERROR: _load: Method/Function Failed,
returning: RES() At: core/io/resource_loader.cpp:186. ERROR: poll:
res://scenes/LevelDev.tscn:3 - Parse Error: [ext_resource] referenced
nonexistent resource at: res://assets/models/floors/floor_simple.tscn
At: scene/resources/scene_format_text.cpp:439. ERROR: load: Condition
’ err != OK ’ is true. returned: RES() At:
core/io/resource_loader.cpp:149. ERROR: _load: Method/Function Failed,
returning: RES() At: core/io/resource_loader.cpp:186. ERROR: poll:
res://scenes/Game.tscn:5 - Parse Error: [ext_resource] referenced
nonexistent resource at: res://scenes/LevelDev.tscn At:
scene/resources/scene_format_text.cpp:439. ERROR: load: Condition ’
err != OK ’ is true. returned: RES() At:
core/io/resource_loader.cpp:149. ERROR: _load: Method/Function Failed,
returning: RES() At: core/io/resource_loader.cpp:186. ERROR: start:
Condition ’ !scene ’ is true. returned: false At:
main/main.cpp:1688. WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989. ERROR: clear: Resources Still in use at
Exit! At: core/resource.cpp:418. ERROR: cleanup: Condition ’
allocs_used > 0 ’ is true. At: core/dvector.cpp:70.

I’m convinced I am doing something wrong here, can anyone help?

Thank you :slight_smile:

:bust_in_silhouette: Reply From: Eamonn McHugh-Roohr

I was running into a very similar issue - when I ran the linux server binary on a desktop system it worked fine, but when I ran it against my source tree on an actual cloud server sound and texture loading would lead to a bunch of issues. However they seemed to clear up when I ran from the pck file rather than from my project directory.