godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.57k stars 21.27k forks source link

Connot run own compiled godot-mono #87807

Open Rmtdi opened 10 months ago

Rmtdi commented 10 months ago

Tested versions

3.5stable

System information

Debian12-arm64, godot3.5-stable-mono, virgl

Issue description

After I ran the compiled binary, the window disappeared in less than a second, followed by an error: Mono: Log file is: '/home/lerio/.local/share/godot/mono/mono_logs/2024-02-01_03.25.47_15817.log' ERROR: Failed to load one of the prebuilt API assemblies. at: _load_api_assemblies (modules/mono/mono_gd/gd_mono.cpp:932) I looked at the log, and the log said it was missing a file, I found it in my mono/lib directory and copied it to try it. Run it again, it's still this error, but the log shows a new result, saying that there is a problem with my mono version (the specific log is attached), and the version number of the mono I compiled myself is 6.12.0.199 (tarball... (compilation time)...)

Steps to reproduce

pyston-scons platform=x11 tools=yes module_mono_enabled=yes mono_glue=no mono_prefix=/opt/mono_6.12/ -j8 ... ./bin/godot.x11.tools.64.mono --generate-mono-glue modules/mono/glue ... pyston-scons platform=x11 tools=yes target=release_debug module_mono_enabled=yes mono_glue=yes mono_prefix=/opt/mono_6.12/ -j8 <the error>

Minimal reproduction project (MRP)

here is the log 2024-02-01_03.25.47_15817.log 2024-02-01_03.42.38_20195.log

Rmtdi commented 10 months ago

Okay, I've surrendered, it's been two days since I was able to compile Godot with Mono on arm, and my question now is how to use GitHub Actions to build Godot on arm. And, why only version 4.2 has arm releases, I don't understand.