-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build mono-glue on Godot 4 beta #65936
Comments
Make sure you have installed the .NET SDK 6.0+. Can you check which SDK version and runtimes you have available by executing Also, the For your convenience, here is an example of the full list of commands that you should be executing: scons p=windows tools=yes module_mono_enabled=yes
bin/godot.windows.tools.x86_64.mono --generate-mono-glue modules/mono/glue
python ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local ~/MyLocalNugetSource |
Is there documentation somewhere on building export templates with this new method? Do we use the old method minus the deprecated commands? |
The commands have changed a bit recently (see more information about these changes in #66242), these would be the commands to build the editor and assemblies now:
To build the export templates:
|
Godot version
Godot Engine v4.0.beta.mono.custom_build (57bdddc)
System information
Windows 11 Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti
Issue description
Errors are generated when attempting to build mono-glue:
ERROR: hostfxr_initialize_for_runtime_config failed with code: -2147450733
at: (modules\mono\mono_gd\gd_mono.cpp:201)
ERROR: Parameter "load_assembly_and_get_function_pointer" is null.
at: `anonymous-namespace'::initialize_hostfxr_and_godot_plugins (modules\mono\mono_gd\gd_mono.cpp:274)
ERROR: Parameter "godot_plugins_initialize" is null.
at: GDMono::initialize (modules\mono\mono_gd\gd_mono.cpp:403)
Editing project: D:/Godot 4 Projects/Test Scene
Godot Engine v4.0.beta.mono.custom_build.57bdddce0 - https://godotengine.org
ERROR: Condition "!windows.has(p_window)" is true.
at: VulkanContext::window_resize (drivers\vulkan\vulkan_context.cpp:1497)
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti
ERROR: hostfxr_initialize_for_runtime_config failed with code: -2147450733
at: (modules\mono\mono_gd\gd_mono.cpp:201)
ERROR: Parameter "load_assembly_and_get_function_pointer" is null.
at: `anonymous-namespace'::initialize_hostfxr_and_godot_plugins (modules\mono\mono_gd\gd_mono.cpp:274)
ERROR: Parameter "godot_plugins_initialize" is null.
at: GDMono::initialize (modules\mono\mono_gd\gd_mono.cpp:403)
Steps to reproduce
scons p= tools=yes module_mono_enabled=yes mono_glue=no
<godot_binary> --generate-mono-glue modules/mono/glue
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: