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.46k stars 477 forks source link

[Bug]: Game crashes whenever I open the game #560

Closed Itouchnograss closed 1 year ago

Itouchnograss commented 1 year ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

I just put melonloader into Bloons td 6. I checked, it was opening completely fine before. but all I did was add melonloader (I didn't do anything else I just hit the button to install the most recent version of melonloader on to btd6) and the game now wont launch. I get the error il2cpp_init detour failed: Failed to load hostfxr. Please make sure you have installed the .NET 6.0 runtime. [15:39:45.156] [ERROR] il2cpp_init detour failed: Failed to load hostfxr. Please make sure you have installed the .NET 6.0 runtime. I have 0 clue what this means and I am too stupid to understand it. I Tried downloading that .net 6.0 thing and have no idea what it is or what it even does.

Did you attach your log file?

No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

RinLovesYou commented 1 year ago

.NET 6 is a C# runtime. You need to have it installed. You can get it here

Itouchnograss commented 1 year ago

Tysm! That worked