MelonLoader

MelonLoader

554 Downloads

[Bug]: Crashes at Loading NativeHost Assembly

Closed this issue ยท 1 comments

commented

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

Attempting to run melon loader with Schedule 1 on linux. It crashes when trying to load the NativeHost assembly at

var initialize = Dotnet.LoadAssemblyAndGetFunctionUco<InitializeFn>(context, nativeHostPath, "MelonLoader.NativeHost.NativeEntryPoint, MelonLoader.NativeHost", "NativeEntry");

  • Tried with both v0.7.0 and v0.7.0-ci.2238
  • Tried both the installer and a manual install
  • Steam launch options WINEDLLOVERRIDES="version=n,b" %command% --melonloader.consoleontop --melonloader.debug
  • dotnet --list-runtimes includes Microsoft.NETCore.App 6.0.35 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  • wine prefix has dotnet 6 via protontricks 3164500 dotnetdesktop6

Latest.log

[19:51:20.718] [BS DEBUG] Opening stream to cached log
[19:51:20.720] [BS DEBUG] Plt hooked GetProcAddress successfully
[19:51:20.830] [BS DEBUG] Prevented the CloseHandle of stdout
[19:51:20.832] [BS DEBUG] Prevented the CloseHandle of stderr
[19:51:20.870] [BS DEBUG] Redirecting il2cpp_init
[19:51:20.871] [BS DEBUG] Redirecting il2cpp_runtime_invoke
[19:51:20.879] [BS DEBUG] In init detour
[19:51:20.959] [BS DEBUG] Attempting to load hostfxr
[19:51:20.962] [BS DEBUG] Initializing domain
[19:51:20.968] [BS DEBUG] Loading NativeHost assembly

Did you attach your log file?

Yes, I attached my log file to the text box above.

commented

Started with a fresh wine prefix again and it seems to be working. Not sure what the deal was before or if the clean prefix actually fixed anything.