LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.38k stars 472 forks source link

[Bug]: .NET 6.0 runtime #488

Closed Username1234567890000000 closed 1 year ago

Username1234567890000000 commented 1 year ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

When ever i launch Melon loader from the game i get a error message saying "il2cpp_init detour failed: Failed to load hostfxr. Please make sure you have installed the .NET 6.0 runtime. [00:36:02.822] [ERROR] il2cpp_init detour failed: Failed to load hostfxr. Please make sure you have installed the .NET 6.0 runtime."

please can somebody tell me how to fix this

Did you attach your log file?

rakosi2 commented 1 year ago

Did you install .NET 6.0 runtime like it asked?

rakosi2 commented 1 year ago

Duplicate of #367

RinLovesYou commented 1 year ago

closing, not a bug

lavvydaddy commented 1 year ago

where do you download net 6.0 thing

rakosi2 commented 1 year ago

https://dotnet.microsoft.com/en-us/download/dotnet/6.0 Get Desktop runtime x64

PranitModak commented 12 months ago

@rakosi2

image

I have tried installing all different kinds of runtime still getting this error.

image

babyfolder commented 11 months ago

Same happens to me but I get the error "il2cpp_init detour failed: It was not possible to find a compatible framework version." and I have installed like 5 different NET 6.0 versions.

Edit: I have now downgraded melonloader to 5.7.0 and it works!... Except when I add the Btd6ModHelper.dll file to the mods folder it just closes.

matannn12 commented 11 months ago

Same happens to me but I get the error "il2cpp_init detour failed: It was not possible to find a compatible framework version." and I have installed like 5 different NET 6.0 versions.

Edit: I have now downgraded melonloader to 5.7.0 and it works!... Except when I add the Btd6ModHelper.dll file to the mods folder it just closes. HI! same here. please tell me if you were able to add mods with the 5.7.0 version or found a way to fix it. thanks!