Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
2 weeks ago
Downloads
2.1M
Size
695KB
Dependency string
DiFFoZ-LethalPerformance-0.0.143

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.
  • Includes compatibility optimizations for supported mods, including MoreSuits.
  • Keeps Unity profiling scopes available in development builds for diagnosing rendering performance.

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

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.