0 votes

I'm trying to run Godot mono in dedicated server, but it's keeping crashed with error message that I can't understand.
What I did is just export the PCK file in Windows 10, zip it and use scp to copy the zip file from my machine to Server.
I tried to export the normal linux runable and transfer it to use in the headless environment but the app requires GUI to run.

[email protected]:~/server$ ls
data_mascot  mascot.pck
[email protected]:~/server$ godot --main-pack mascot.pck
Godot Engine v3.4.4.stable.mono.official.419e713a2 - https://godotengine.org

Mono: Log file is: '/home/mascot/.local/share/godot/mono/mono_logs/2022-05-04_22.30.07_511238.log'
ERROR: Failed to open res://.mono/assemblies/Debug/GodotSharp.xml
   at: copy (core/os/dir_access.cpp:283)
WARNING: Failed to copy 'GodotSharp.xml'.
     at: copy_prebuilt_api_assembly (modules/mono/mono_gd/gd_mono.cpp:674)
ERROR: Failed to open res://.mono/assemblies/Debug/GodotSharp.pdb
   at: copy (core/os/dir_access.cpp:283)
WARNING: Failed to copy 'GodotSharp.pdb'.
     at: copy_prebuilt_api_assembly (modules/mono/mono_gd/gd_mono.cpp:678)
ERROR: Failed to open res://.mono/assemblies/Debug/GodotSharp.dll
   at: copy (core/os/dir_access.cpp:283)
ERROR: Failed to copy 'GodotSharp.dll'.
   at: copy_prebuilt_api_assembly (modules/mono/mono_gd/gd_mono.cpp:682)
ERROR: The assembly is invalidated and the prebuilt assemblies are missing.
   at: _load_api_assemblies (modules/mono/mono_gd/gd_mono.cpp:938)

=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Native stacktrace:
=================================================================
        0xe755ad - godot :
        0xe75939 - godot :
        0xe6810f - godot :
        0xe7f590 - godot :
        0x7f47e1e6a3c0 - /lib/x86_64-linux-gnu/libpthread.so.0 :
        0x12ab681 - godot : _ZN6GDMono20_load_api_assembliesEv
        0x12ab74d - godot : _ZN6GDMono26initialize_load_assembliesEv
        0x160dba7 - godot : _ZN14CSharpLanguage4initEv
        0x33efe42 - godot : _ZN12ScriptServer14init_languagesEv
        0x10d7bab - godot : _ZN4Main6setup2Em
        0x10dc73d - godot : _ZN4Main5setupEPKciPPcb
        0xd98ffd - godot : main
        0x7f47e1b290b3 - /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main
        0xd9ca4e - godot :

=================================================================
        Telemetry Dumper:
=================================================================
Pkilling 0x139946671716096x from 0x139946705830848x
Could not exec mono-hang-watchdog, expected on path '/usr/bin/GodotSharp/Mono/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0x139946705830848x
Finished thread summarizer pause from 0x139946705830848x.
Failed to create breadcrumb file (null)/crash_hash_0x0
WARNING: A Thread object has been destroyed without wait_to_finish() having been called on it. Please do so to ensure correct cleanup of the thread.
     at: ~Thread (core/os/thread.cpp:124)

Waiting for dumping threads to resume

=================================================================
        External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x12ab681):0x12ab671  00 be 48 69 9e 03 bf ed 62 9e 03 e8 af f5 05 02  ..Hi....b.......
0x12ab681  0f 0b 0f 1f 44 00 00 45 31 c9 41 b8 38 78 9e 03  ....D..E1.A.8x..
0x12ab691  b9 9a 18 95 03 ba c7 03 00 00 be 48 69 9e 03 bf  ...........Hi...
0x12ab6a1  ed 62 9e 03 e8 36 a1 03 02 0f 0b 0f 1f 40 00 45  [email protected]

=================================================================
        Managed Stacktrace:
=================================================================
=================================================================
Aborted (core dumped)
[email protected]:~/server$
Godot version v3.4.4.stable.mono.official.419e713a2
in Engine by (67 points)
edited by

Please log in or register to answer this question.

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.