knah / Il2CppAssemblyUnhollower

A tool to generate Managed->IL2CPP proxy assemblies
GNU Lesser General Public License v3.0
499 stars 88 forks source link

Mono.Cecil Error #62

Closed AndyFilter closed 3 years ago

AndyFilter commented 3 years ago

Not matter what Unity Game I try to use the program on, I always get the same error message:

Generating implicit conversions...

Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: type at Mono.Cecil.Mixin.CheckType(Object type) at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type, IGenericParameterProvider context) at AssemblyUnhollower.Passes.Pass60AddImplicitConversions.AddDelegateConversions(RewriteGlobalContext context) at AssemblyUnhollower.Passes.Pass60AddImplicitConversions.DoPass(RewriteGlobalContext context) at AssemblyUnhollower.Program.Main(UnhollowerOptions options) at AssemblyUnhollower.Program.Main(String[] args)

I have tried using different versions of Mono.Cecil; nothig worked. Games I've tried: Redmatch 2, Pistol Whip, Pixel Strike 3D.

ds5678 commented 3 years ago

This is a duplicate of #48.

--mscorlib should point at mod loader mscorlib (or at the very least GAC mscrolib), not dummy dll mscorlib.