BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
185 stars 59 forks source link

Unable to unstrip mscorlib #104

Closed krulci closed 1 month ago

krulci commented 11 months ago

I am having trouble unstripping mscorlib.dll. I have tried the following two builds: I compiled the same unity version of the game in mono and included mscorlib.dll from the mono build. I compiled the same unity version of the game in il2cpp and included mscorlib.dll from the il2cpp build. Both of them is giving me the following error:

System.ArgumentNullException: 'Value cannot be null. (Parameter 'type')'

I tried both build with the legacy Il2cppAssemblyUnhollower. Both was able to be unstriped. How may I fix this issue?

krulci commented 11 months ago

image In Il2cppAssemblyUnhollower it is finding this type in mscorlib.dll image However, in Il2CppInterop it is finding this type in System.Private.CoreLib.dll

ds5678 commented 1 month ago

I think this has been resolved sometime since you posted your issue because the core library references are constructed differently now.