-
-
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
.NET 6 - Running exported PCK fails to load scripts or fails to load hostfxr #72159
Comments
Use Also I am pretty sure that the editor binary cannot run exported C# projects at all. |
It should be fixed, exporting PCK/ZIP should provide a working export with the .NET runtime and scripts, just without the template binary. |
In my case, I do use |
Godot version
v4.0.beta.mono.custom_build [d1e5903] (With precision=double)
System information
Arch Linux, Vulkan
Issue description
After exporting a project as a PCK or ZIP file and trying to run it, I get errors. The error produced seems to vary depending on the engine build target (editor & template_debug tested).
With an editor build, the exported reproduction project runs but the test C# class 'could not be found'.
scons precision=double p=linuxbsd tools=yes module_mono_enabled=yes debug_symbols=yes target=editor vulkan=yes -j 14
With a template_debug build, the exported reproduction project fails to load hostfxr:
scons precision=double p=linuxbsd module_mono_enabled=yes target=template_debug -j 14
Exporting projects as an executable with the template_debug build is working, the problem appears to be specific to PCK & ZIP export.
Steps to reproduce
./godot.linuxbsd.template_debug.double.x86_64.mono --main-pack /gd4_export_pck_test/export/test.pck
Minimal reproduction project
gd4_export_pck_test.zip
The text was updated successfully, but these errors were encountered: