godotengine / godot

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

4.0 beta 12 crash on project load in linux #71442

Closed esarver closed 1 year ago

esarver commented 1 year ago

Godot version

v4.0.beta12.mono.official.3c9bf4bc2

System information

Pop!_OS 22.04 LTS, AMD Radeon Vega 10 Graphics (integrated), Compatibility graphics

Issue description

When I open Godot, I see the project explorer. When selecting a project (or creating a new one) the editor crashes before I can see it.

I get the following output on my terminal:


esarver@pop-os:~$ godot4
Godot Engine v4.0.beta12.mono.official.3c9bf4bc2 - https://godotengine.org
OpenGL Renderer: AMD Radeon Vega 10 Graphics (raven, LLVM 14.0.0, DRM 3.48, 6.0.12-76060006-generic)

The specified runtimeconfig.json [/opt/godot/versions/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json] does not exist
ERROR: hostfxr_initialize_for_runtime_config failed with code: -2147450733
   at: initialize_hostfxr_for_config (modules/mono/mono_gd/gd_mono.cpp:201)
ERROR: Parameter "load_assembly_and_get_function_pointer" is null.
   at: initialize_hostfxr_and_godot_plugins (modules/mono/mono_gd/gd_mono.cpp:274)
ERROR: Parameter "godot_plugins_initialize" is null.
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:403)
Editing project: /home/esarver/Projects/Test
Godot Engine v4.0.beta12.mono.official.3c9bf4bc2 - https://godotengine.org
esarver@pop-os:~$ OpenGL Renderer: AMD Radeon Vega 10 Graphics (raven, LLVM 14.0.0, DRM 3.48, 6.0.12-76060006-generic)

The specified runtimeconfig.json [/opt/godot/versions/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json] does not exist
ERROR: hostfxr_initialize_for_runtime_config failed with code: -2147450733
   at: initialize_hostfxr_for_config (modules/mono/mono_gd/gd_mono.cpp:201)
ERROR: Parameter "load_assembly_and_get_function_pointer" is null.
   at: initialize_hostfxr_and_godot_plugins (modules/mono/mono_gd/gd_mono.cpp:274)
ERROR: Parameter "godot_plugins_initialize" is null.
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:403)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:61)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta12.mono.official (3c9bf4bc210a8e6a208f30ca59de4d4d7e18c04d)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fe97c042520] (??:0)
-- END OF BACKTRACE --
================================================================

### Steps to reproduce

- Open Godot 4.0.beta12.mono on Pop!_OS 22.04
- Select or create any project in any mode
- The project selection window will show the Godot logo and freeze then disappear, showing the terminal with the libc error shown in the description.

### Minimal reproduction project

N/A
esarver commented 1 year ago

So, it turns out that I just put the GodotSharp folder in the wrong place. I have a symlink in /opt/godot/godot4 that links to the proper file in the /opt/godot/versions/ folder. This apparently causes some weirdness with how the GodotSharp folder is found.