Errors when building with godot-server
With the following command:
godot-server --export 'Linux/X11' shpactris
The build ends with non-zero return value and some errors:
savepack: end
ERROR: _fs_changed: Project export failed with error code 16 for preset 'Linux/X11'.
At: editor/editor_node.cpp:634.
reimport: end
ERROR: ~List: Condition "_first != __null" is true.
At: ./core/self_list.h:112.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
At: core/pool_vector.cpp:69.
(see also flathub builds, for instance: https://flathub.org/builds/#/builders/39/builds/2490/steps/6/logs/stdio)
Note that it actually still produces a working executable. So it looks like the errors can somehow be ignored (which I currently do in the flatpak manifest), but of course this should still be fixed.