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]: System.MissingMethodException: Method not found: System.Net.Security.RemoteCertificateValidationCallback System.Net.ServicePointManager.get_ServerCertificateValidationCallback() #635

Closed phofers closed 6 months ago

phofers commented 6 months ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

I'm using 5.7 because all the 6 versions are broken. Installing goes fine, but there's an error soon after the terminal opens and the game doesn't launch. Latest.log

Did you attach your log file?

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

phofers commented 6 months ago

I've figured this out, it wasn't a MelonLoader issue. Some of the game's assembly files were stripped, which caused melonloader to not be able to find the methods.

This only happens rarely as a dev has to enable it in Unity, so if you run into the same issue with a different game contact the devs and ask them to turn off assembly stripping.