Il2CppInterop.Generator
=======================

DRGS Multiplayer's bootstrap patcher (DRGSMultiplayer.Bootstrap.dll) carries an unmodified copy of
Il2CppInterop.Generator and installs it into BepInEx/core on first launch.

BepInEx 6.0.0-be.788 (and every later bleeding-edge build up to be.791) ships a generator that
predates the fix for duplicate compiler-generated types on Unity 6.4. Deep Rock Galactic: Survivor
runs on Unity 6000.4, so with the bundled generator the interop assemblies never finish generating
and no BepInEx plugin loads at all. See https://github.com/BepInEx/BepInEx/issues/1350.

Bundled version:  1.5.3-ci.1121+81a6f78c8b653e0da4a3420ac4cd00819e8b6292
Source package:   https://nuget.bepinex.dev/packages/Il2CppInterop.Generator/1.5.3-ci.1121
File in package:  lib/netstandard2.1/Il2CppInterop.Generator.dll
SHA-256:          32a2d39a5573ae2d0c746e267f6780d1289d03d3271b3795f2c4160875c153d0

Upstream project: https://github.com/BepInEx/Il2CppInterop
Relevant fix:     https://github.com/BepInEx/Il2CppInterop/pull/266
                  ("Fix duplicate types in generated assemblies on Unity 6.4+", merged 2026-07-08)

Il2CppInterop is licensed under the GNU Lesser General Public License v3.0; the full text is in
Il2CppInterop-LICENSE.txt. The copy distributed here is unmodified, and its corresponding source is
available from the upstream project and the package URL above.

Once BepInEx ships a build whose generator includes the fix, the patcher stands down on its own: it
only replaces generators older than 1.5.3-ci.1121 and leaves anything newer alone.
