Lethal Company
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
472
Likes
0
Size
94KB
Dependants

FacelessStalkerFix

Compatibility fix for FacelessStalker (Slenderman mod by Sparble) on modern Lethal Company versions (v50, v55, v60, v68, v73+).


The Issue

In modern Lethal Company updates, multiple base game method signatures were changed:

  1. GameNetcodeStuff.PlayerControllerB.HasLineOfSightToPosition received an additional int layerMask = -1 parameter (expanded from 4 to 5 arguments).
  2. GameNetcodeStuff.PlayerControllerB.KillPlayer received an additional bool setOverrideDropItems parameter (expanded from 5 to 6 arguments).

Because SlendermanMod.dll was compiled against older game binaries, calling these methods caused immediate runtime crashes:

[Error  : Unity Log] MissingMethodException: Method not found: bool GameNetcodeStuff.PlayerControllerB.HasLineOfSightToPosition(UnityEngine.Vector3,single,int,single)

The Fix

This BepInEx preloader patch dynamically rewrites outdated IL instructions in SlendermanMod.dll at launch or on disk:

  • Updates PlayerControllerB.HasLineOfSightToPosition call-sites to pass the modern default layer mask (-1).
  • Updates PlayerControllerB.KillPlayer call-sites to pass the modern default parameters.
  • Restores full functionality to Slenderman's haunting, line-of-sight tracking, and kill mechanics without modifying original game logic.

Installation

Via Mod Manager (Recommended)

  1. Install via r2modman or the Thunderstore Mod Manager.
  2. Launch modded Lethal Company.

Manual Installation

  1. Ensure BepInEx 5 is installed.
  2. Place FacelessStalkerFix.dll inside BepInEx/patchers/FacelessStalkerFix/.
  3. Launch the game.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.