BepInEx / Il2CppInterop

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

Fix FindGetTypeInfoFromTypeDefinitionIndex for Unity games built with IL2CPP Master #60

Closed nitrog0d closed 1 year ago

nitrog0d commented 1 year ago

This fixes FindGetTypeInfoFromTypeDefinitionIndex for Unity games built with C++ Compiler Configuration "Master" for IL2CPP (The Long Dark for example). I'm not sure if this is IL2CPP Metadata v29 specific, but since we've only seen The Long Dark with this issue I'm assuming it's an v29 occasion only.