This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I tried to export the project with headless error at the time
*[root@VM_0_7_centos friends_world_server]# godot-server --export "Linux/X11" /friends_world_server/server
ERROR: initialize: AudioDriverManager: all drivers failed, falling back to dummy driver
At: servers/audio_server.cpp:165.
ERROR: copy: Failed to open
At: core/os/dir_access.cpp:304.
ERROR: _fs_changed: Project export failed with error code 12.
At: editor/editor_node.cpp:471.
ERROR: ~List: Condition ' _first != __null ' is true.
At: core/self_list.h:100.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!*

I have no problem exporting with cli on window

in Engine by (26 points)

1 Answer

+1 vote

As of Godot 3.0.6, the server binary no longer includes editor functionality, which means it cannot be used to export projects anymore. Instead, you need to download an headless binary which can be used to export projects. (The server binary is intended to be used for running dedicated servers.)

Also, make sure the destination folder exists — the command mkdir -p path/to/destination/folder can be used to ensure this. See this issue on GitHub for more information.

by (12,908 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 Frequently asked questions and 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 [email protected] with your username.