Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
LethalPerformance
Optimizes the game by caching frequently searchable components
| Last updated | a day ago |
| Total downloads | 2121399 |
| Total rating | 49 |
| Categories | Mods BepInEx Client-side Server-side Performance AI Generated |
| Dependency string | DiFFoZ-LethalPerformance-1.4.3 |
| Dependants | 1118 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100DiFFoZ-HarmonyXTranspilerFix
Fixes HarmonyX Transpiler cause patched method to behave incorrectly
Preferred version: 1.1.0README
LethalPerformance
LethalPerformance reduces CPU work, allocations, and common frame-time spikes in Lethal Company. It is designed to work alongside gameplay and content mods without changing gameplay.
For support or discussion, use the Discord channel at Discord thread.
What it improves
- Caches frequently searched game, network, moon, dungeon objects to avoid repeated
FindObjectOfType-style work. - Reduces allocations and main-thread work in common paths.
- Reduces save-related hitching by caching Easy Save 3 file data and scheduling saves.
- Tunes HDRP defaults to reduce unnecessary memory use, including the reflection-probe texture cache.
Useful shortcut
Press Ctrl + Shift + L to open the Unity log folder. This is useful when reporting a problem.
Troubleshooting
My screen is black [Failed to find "lib_burst_generated.data"]
Disable Kaspersky or other types of antivirus. After that, uninstall the mod, click to clean up unused mods, and then reinstall the mod. It should download correctly.
The log says that the Reflection Probe Atlas or 2D Cookie Texture Atlas is full
Increase the matching LethalPerformance rendering setting.
I see an "Entrance teleport mismatch" tip
Another mod likely prevented an entrance teleport from spawning correctly. Expect the affected entrance to report that it is blocked; update or temporarily remove recently added moon/interior mods to identify the conflict.
The log warns that Terbium is installed
Remove Terbium for better compatibility with LethalPerformance.
Recommended mods
For a preconfigured set of performance and bug fixes mods that can be added to any modpack, use Starter Pack by ThecheeseXD.
LethalPerformance also works well with:
- LethalFixes by Dev1A3 - fixes lag spikes caused by Dissonance and RPC logging and more.
- AsyncLogger by Matty_Matty - moves logging to another thread, resulting in smoother frametime.
- BepInEx Faster Load AssetBundles Patcher by DiFFoZ - reduces RAM usage and speeds up asset loading, leading to smoother frametime.
- PathfindingLagFix by Zaggy1024 - makes the calculation of AI path to use time-slicing, resulting in smoother frametime.
- CullFactory by fumiko & Zaggy1024 - stops rendering interior rooms that aren't visible.
- LethalSponge by Scoops - frame limiting cameras in the ship, creating LOD for items and more.
- ReXuvination by XuXiaolan - optimizes colliders that unnecessarily calling OnTriggerStay message.
Credits
- Icon by Lorc via game-icons.net