Closed UserUnknownFactor closed 1 year ago
This is not the correct fix, the actual problem is that no one actually checked if GenerateDelegateForMissingICall
works after switching to coreclr, all you need to fix this is to add MethodAttributes.Public
to the attributes. Or just don't specify attributes and calling convention and leave the defaults which are the same.
@js6pak: thank you for fixing it.
Otherwise Il2CppInterop crashes in combination of
BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.656
andUnity 2020.3.38f1
onUnityEngine.Input+IsJoystickPreconfiguredDelegate
with something like this: