

Error Fix is a defensive compatibility plugin for Lethal Company. It is designed for modded profiles and modpacks where repeated runtime errors make logs difficult to read or interfere with known client-side flows.
The plugin adds narrow Harmony guards around specific failure paths. It does not rebalance enemies, change spawn tables, replace game systems, or intentionally alter normal AI behavior.
Error Fix focuses on known stack traces and known exception types. In most cases it either validates a reference or index before the original method uses it, skips one unsafe frame, or handles a known exception after the target method has already failed.
Unknown exceptions are left visible. This plugin is not intended to hide every error in a modpack.
AudioClip playback.NavMeshAgent is off the NavMesh.PlayerRagdoll4+ tag lookups in high-player-count or heavily modded sessions.Handled warnings are limited so recurring issues remain visible without filling the log.
These guards only activate when the relevant mod is installed. Error Fix does not include, redistribute, or modify third-party mod files.
| Project | Compatibility case |
|---|---|
| EnemyHealthBars | Known health bar LateUpdate null-reference failures. |
| ShipLootPlus | Known loot UI null-reference failures during ship unlockable sync and grab refresh. |
| ToggleableNightVision | Known outdoor lighting null-reference failures during lighting updates. |
| ChatCommands | Known host-start null-reference failure in ChatCommandAPI. |
Use a Thunderstore-compatible mod manager, or install manually by placing the package contents in your profile's plugin folder.
For manual installation, the runtime file must be located at:
<profile>/BepInEx/plugins/V81ErrorFix.dll
Because this plugin uses Harmony patches, compatibility depends on game version, mod versions, and load order. If another mod rewrites the same method, behavior may depend on patch order.
Please include enough information to identify the exact failing path:
Source and documentation are available on GitHub:
https://github.com/Auuueser/Error-Fix
Error Fix is not affiliated with, endorsed by, or maintained by Zeekerss, Unity Technologies, BepInEx, Harmony, Thunderstore, or the authors of optional compatibility targets.
Third-party compatibility is implemented through runtime reflection guards only. This package does not include third-party source code, DLLs, Thunderstore package contents, or assets.