ds5678.Il2CppInterop.Runtime 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ds5678.Il2CppInterop.Runtime --version 1.5.0                
NuGet\Install-Package ds5678.Il2CppInterop.Runtime -Version 1.5.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ds5678.Il2CppInterop.Runtime" Version="1.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ds5678.Il2CppInterop.Runtime --version 1.5.0                
#r "nuget: ds5678.Il2CppInterop.Runtime, 1.5.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ds5678.Il2CppInterop.Runtime as a Cake Addin
#addin nuget:?package=ds5678.Il2CppInterop.Runtime&version=1.5.0

// Install ds5678.Il2CppInterop.Runtime as a Cake Tool
#tool nuget:?package=ds5678.Il2CppInterop.Runtime&version=1.5.0                

<p align="center"> <img src="logo/logo_big.svg" width="300"> </p>

GitHub Workflow Status GitHub release (latest by date)

CLI Generator Runtime HarmonySupport
NuGet.org (release) BepInEx NuGet (CLI) BepInEx NuGet (Generator) BepInEx NuGet (Runtime) BepInEx NuGet (HarmonySupport )
nuget.bepinex.dev (CI) BepInEx NuGet (CLI) BepInEx NuGet (Generator) BepInEx NuGet (Runtime) BepInEx NuGet (HarmonySupport)

BepInEx fork of Il2CppAssemblyUnhollower is now Il2CppInterop!

Looking for old README and guides? Check out legacy-unhollower branch.

Il2CppInterop is a framework for bridging together Unity's Il2Cpp and .NET's CoreCLR runtimes. The framework various interoperability tools:

  • A tool to generate .NET assemblies from Cpp2IL's output.
  • A runtime library to work with Il2Cpp objects in CoreCLR.
  • Libraries to integrate other tools with Il2Cpp.

The framework allows the use of Il2Cpp domain and objects in it from a managed .NET domain. This includes generic types and methods, arrays, and new object creation.

This project started out as fork of knah/Il2CppAssemblyUnhollower but has been since been modified with new API and fixes to be a standalone project.

Getting started

For plugin developers:

For tool integrators and advanced user:

Used libraries

Bundled into output files:

  • iced by 0xd4d, an x86 disassembler used for xref scanning and possibly more in the future

Used by generator itself:

  • Mono.Cecil by jbevain, the main tool to produce assemblies
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ds5678.Il2CppInterop.Runtime:

Package Downloads
ds5678.Il2CppInterop.HarmonySupport

Module to allow using Harmony with Il2CppInterop assemblies

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on ds5678.Il2CppInterop.Runtime:

Repository Stars
LavaGang/MelonLoader
The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
Version Downloads Last updated
1.5.5 119 9/8/2024
1.5.4 283 8/19/2024
1.5.3 139 8/18/2024
1.5.2 132 8/17/2024
1.5.1 158 8/13/2024
1.5.0 168 8/12/2024