Il2CppInterop.Common 1.4.5

Prefix Reserved
dotnet add package Il2CppInterop.Common --version 1.4.5                
NuGet\Install-Package Il2CppInterop.Common -Version 1.4.5                
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="Il2CppInterop.Common" Version="1.4.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Il2CppInterop.Common --version 1.4.5                
#r "nuget: Il2CppInterop.Common, 1.4.5"                
#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 Il2CppInterop.Common as a Cake Addin
#addin nuget:?package=Il2CppInterop.Common&version=1.4.5

// Install Il2CppInterop.Common as a Cake Tool
#tool nuget:?package=Il2CppInterop.Common&version=1.4.5                

<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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Il2CppInterop.Common:

Package Downloads
Il2CppInterop.Runtime

Runtime tools for bridging .NET and Il2Cpp together

Il2CppInterop.Generator

Library for generating assemblies and metadata for calling Il2Cpp functions from .NET

STBlade.Modding.TLD.Il2CppAssemblies.Windows

Il2Cpp assemblies for modding The Long Dark by Hinterland Games.

ds5678.Modding.TLD.Il2CppAssemblies.Windows

Il2Cpp assemblies for modding The Long Dark by Hinterland Games.

UniverseLib.IL2CPP.Interop.ML

Package Description

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Il2CppInterop.Common:

Repository Stars
LavaGang/MelonLoader
The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
sinai-dev/UnityExplorer
An in-game UI for exploring, debugging and modifying IL2CPP and Mono Unity games.
Lakatrazz/BONELAB-Fusion
A multiplayer mod for BONELAB.
sinai-dev/UniverseLib
A library for making plugins which target IL2CPP and Mono Unity games.
Version Downloads Last updated
1.4.5 8,615 3/4/2023
1.4.4 901 2/25/2023
1.4.3 7,581 12/13/2022
1.4.2 597 12/12/2022
1.4.1 2,347 12/11/2022
1.4.0 1,402 11/13/2022
1.3.0 4,199 10/21/2022
1.2.0 1,068 10/4/2022
1.1.4 898 9/30/2022
1.1.3 1,049 9/10/2022
1.1.2 881 9/8/2022
1.1.1 947 8/29/2022
1.1.0 1,672 7/10/2022