[Bug]: Error when running Linux native game
stann1 opened this issue ยท 1 comments
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.
Error when running the game from Steam:
"il2cpp_init detour failed: Failed to load hostfxr. Please make sure you have installed the .NET 6.0 runtime"
- Installed melonloader using the linux installer from melonwiki (v 0.6.6)
- Running The long dark (64bit) on Ubuntu 24.04, using the preload env variables:
LD_LIBRARY_PATH="/home/stan/.local/share/Steam/steamapps/common/TheLongDark:$LD_LIBRARY_PATH" LD_PRELOAD="libversion.so" %command%
- have dotnet 6 runtime installed, as can be seen from running
dotnet --info
:
.NET SDK:
Version: 7.0.410
Commit: 8b4848c3b2
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/7.0.410/
Host:
Version: 7.0.20
Architecture: x64
Commit: 0fb6ac59fb
.NET SDKs installed:
7.0.410 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.35 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.35 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/share/dotnet]
Did you attach your log file?
Yes, I attached my log file to the text box above.
Hello sadly this issue is comming from the current bootstrap of melon loader. (been trying to mod tld for a long while natively on linux) this only started happening after the devdlopers behind cpp2il fixed an issue regarding tld that caused it to not be able to be modded at all under linux native. Currently please keep using proton to play with the game