Il2CppInterop icon indicating copy to clipboard operation
Il2CppInterop copied to clipboard

A tool interoperate between CoreCLR and Il2Cpp at runtime

Results 72 Il2CppInterop issues
Sort by recently updated
recently updated
newest added

Right now the generator can produce the following method signature ```cs public unsafe void SendEvent(int param_1, SomeEnum param_2 = SomeEnum.All, bool param_3 = false, Il2CppReferenceArray param_4) ``` which is invalid...

bug

### Describe your proposal Generic types such as Dictionary, List and HashSet are very helpful in mod development. Now we have to use Dictionary, as it is most often found...

enhancement

Would it be possible to supply assemblies, say from a server build of the same project to provide missing types from the IL2CPP output?

When using MelonLoader (latest version) for the Steam version of Idle Slayer on Windows, I get this exception, which the MelonLoader team recommended to post here. ``` Fatal error. System.AccessViolationException:...

bug
injection

The class injector does checking on abstract methods to match parameter names and types of implemented methods, but the ParameterInfo struct and hence the name field was removed in newer...

injection

Adds `Pass61ImplementAwaiters` Looks for types implementing `INotifyCompletion` and generates new methods that allow the interop types to implement that interface, calling the Il2CppSystem.Action -> System.Action implicit conversion before calling the...

enhancement
generation

`ClassInjector.SystemTypeFromIl2CppType` finds types by querying IL2CPP for their full name and assembly name and then using the managed `Type.GetType` on a string constructed from it, which fails when they have...

bug
injection

``` Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Repeat 2 times: -------------------------------- at Il2CppInterop.Runtime.IL2CPP.il2cpp_gchandle_get_target(UInt32) -------------------------------- at Il2CppInterop.Runtime.InteropTypes.Il2CppObjectBase.get_Pointer()...

As an example and for ease of demonstration, unhollowed code from BONELAB is provided: ```cs [CallerCount(14)] [CachedScanResults(RefRangeStart = 929796, RefRangeEnd = 929810, XrefRangeStart = 929785, XrefRangeEnd = 929796, MetadataInitTokenRva =...

bug
generation