UnityInjector loader for BepInEx

This is UnityInjector loader for BepInEx.

Requirements

  • BepInEx 4.0+

All other dependencies (UnityInjector API, ExIni) are bundled in the loader.

Installation

  1. Install BepInEx BepInEx

  2. Put BepInEx.UnityInjectorLoader.dll into BepInEx folder

  3. Add and modify the following configuration options in BepInEx\config.ini:

    [org.bepinex.plugins.unityinjectorloader]
    ; Specifies the UnityInjector folder
    ; The location can be absolute or relative to the game's root folder
    ; Thus specifying `Sybaris\UnityInjector` will cause the loader to look for UnityInjector folder in Sybaris folder
    unityInjectorLocation=UnityInjector
    
    ; Specify the entry point of UnityInjector (assembly, type, method)
    ; This is an example for C(O)M3D2
    Entrypoint_AssemblyName=Assembly-CSharp
    Entrypoint_TypeName=SceneLogo
    Entrypoint_MethodName=Start
    
  4. Move UnityInjector plug-ins to the specified folder

  5. Run the game

⚠️ NOTE ⚠️

You must remove the following files from Sybaris folder in order for this to work:

  • UnityInjector.dll
  • ExIni.dll
  • Any of UnityInjector patchers for Sybaris (i.e. COM3D2.UnityInjector.Patcher.dll)

Building

To build, you will need the latest BepInEx.dll.
ExIni is bundled in the source, so no need to get it.

The original UnityInjector is also not needed, as the loader implements a wrapper around the public API.

S
Description
UnityInjector loader for BepInEx
Readme CC0-1.0
91 KiB
0 Stars 1 Watchers 0 Forks
v1.5.0.0
Latest
2026-11-12 11:08:53 -10:00
Languages
C# 100%