Diversity Fix

v1.0.0·Updated 2026-10-08

Unofficial compatibility patcher that makes Diversity 3.1.0 (IntegrityChaos) work on the current Lethal Company version. Private use.

About this mod Author’s original text

Diversity Fix 1.0.0 (unofficial)

Small BepInEx preloader patcher. On game start, before plugins load, it finds Diversity Remastered.dll

(Diversity 3.1.0 by IntegrityChaos,

and, only if needed, rewrites five references to game code that changed in newer Lethal Company versions:

  • PlayerControllerB.KillPlayer - passes the new setOverrideDropItems argument with the game default (false).
  • PlayerControllerB.HasLineOfSightToPosition - passes the new layerMask argument with the game default (-1).
  • new SpawnableEnemyWithRarity() - uses the new (EnemyType, int) constructor.
  • DropAllHeldItemsServerRpc() (removed) - replaced by DropAllHeldItemsAndSyncNonexact().
  • DunGen.Door - type moved from Assembly-CSharp to the DunGen assembly.

No gameplay changes. Diversity is licensed CC BY-NC-SA 4.0; this patch is shared non-commercially under the same terms.

Check the BepInEx log for lines starting with [DiversityFix].

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackIntegrityChaos-Diversity

File & checksum

Filename
Diversity_Fix-1.0.0.zip
File size
14.5 KiB