-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Godot 4 beta 8 mono crash on opening project. #70129
Comments
This comment was marked as resolved.
This comment was marked as resolved.
And please use code quotation marks when citing code. Please edit your description. |
@adamscott If it crashes when opening a brand new project, a MRP isn't really needed. This sounds related to #68652, it's probably caused by the installed .NET Core 7. CC @godotengine/dotnet |
Acording to the error code (see https://github.com/dotnet/runtime/blob/main/docs/design/features/host-error-codes.md), the error received was
|
Compiling latest (5674fa0) I am also seeing this CTD on launching a blank project. Compiled the editor in dev mode and caught it in the debugger (VS2022). Trickier than expected because the initially attached/launched application is not the one that crashes. Callstack:
mini dump attached, full heap dump available but is probably too large to upload here even if I zip it. Machine is in a similar state as the OP. .NET 6.0 SDK and 7.0 side-by-side
|
It seems after last update of Visual Studio this issue went away. I am not sure whether it had anything to do with it. It is however the only software change that happened on my system since I posted original issue. |
Crashes with .NET 7 specifically should be fixed by #71825. |
Godot version
4.0 beta 8
System information
Windows 11, any rendering backend, gtx 1060
Issue description
Godot output:
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: 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)
dotnet -- info output:
.NET SDK:
Version: 7.0.100
Commit: e12b7af219
Środowisko uruchomieniowe:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.100\
Host:
Version: 7.0.0
Architecture: x64
Commit: d099f075e4
.NET SDKs installed:
6.0.403 [C:\Program Files\dotnet\sdk]
7.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Steps to reproduce
Open any project.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: