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.
LCMicRecovery
A BepInEx plugin for Lethal Company that attempts to recover stalled or broken microphone capture without restarting the game.
| Date uploaded | 2 months ago |
| Version | 0.3.5 |
| Download link | Aueser-LCMicRecovery-0.3.5.zip |
| Downloads | 1269 |
| Dependency string | Aueser-LCMicRecovery-0.3.5 |
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.2100README
LC Mic Recovery
LC Mic Recovery is a small BepInEx plugin for Lethal Company. It is designed to recover cases where in-game voice capture becomes stalled or unavailable without requiring a full game restart.
The plugin focuses on conservative recovery behavior. It attempts a local microphone capture reset first, optionally invokes the game's own Dissonance reset path when available, and avoids running recovery while the game is in unsafe transition states.
Features
- Automatic microphone recovery checks while in a valid in-game state.
- Manual recovery hotkey for cases where immediate recovery is needed.
- Local
ResetMicrophoneCapturerecovery path. - Optional game-side Dissonance reset when the target method is available.
- Compatibility fallback when game-side reset reflection targets are unavailable.
- Guards for teardown, scene transition, and unstable object states.
- Cooldown handling to avoid repeated recovery spam.
Installation
- Install BepInExPack for Lethal Company.
- Install this package with a compatible mod manager, or copy the package contents into your game directory.
- The plugin DLL should end up under:
BepInEx/plugins/LCMicRecovery/LCMicRecovery.dll
Usage
The plugin runs automatically after installation. If automatic recovery does not restore voice capture in a specific case, use the configured manual recovery key from the plugin configuration.
Configuration is generated by BepInEx after the first launch.
Compatibility Notes
This plugin targets Lethal Company V81-era behavior and relies on BepInEx and Harmony. The game-side reset path uses reflection and may be unavailable if the game changes internal method names or object lifetime behavior.
When the game-side reset path is unavailable, the plugin falls back to local microphone capture reset behavior instead of failing hard.
Troubleshooting
- If voice capture fails after joining or leaving sessions, wait for the game to finish loading or transitioning before using manual recovery.
- If recovery appears to be skipped, check the BepInEx console or log file for cooldown, teardown, missing device, or compatibility messages.
- If Thunderstore reports a package validation issue, confirm that the package root contains
manifest.json,README.md,CHANGELOG.md,LICENSE,icon.png, andBepInEx/.
Scope
LC Mic Recovery is intended to recover microphone capture failures. It does not replace Dissonance, change voice chat networking, or modify lobby behavior.
CHANGELOG
Changelog
0.3.7
- Added
LanguageModewithAuto,English, andChinesemodes. - Added LC-Chinese-Project /
V81TestChndetection soAutomode follows Chinese modpacks while keeping vanilla game installs in English. - Added HUD font-safety fallback behavior:
Chinesemode keeps BepInEx logs in Chinese while in-game HUD notifications fall back to English when Chinese HUD font support is not detected. - Added recovery completion detail logging when five-step, debug, or state logging is enabled.
- Updated recovery, manual trigger, automatic detection, game-side reset, and startup logs to follow the selected language.
- Recovery completion notifications now use compact in-game text, while detailed completion context is recorded in the BepInEx log.
0.3.6
- Improved manual recovery reliability by allowing local
ResetMicrophoneCaptureeven when the game-side reset path is not currently safe. - Improved automatic recovery so local Dissonance checks are not skipped solely because
StartOfRoundor the local player object is not ready. - Added
AllowLocalRecoveryWhenGameSideUnsafe, enabled by default. - Improved debug and five-step recovery logs for manual trigger state, local reset execution, and game-side reset result.
- Updated build references and release metadata for the V81 test build.
0.3.5
- Hardened recovery cooldown timing so failed local reset attempts do not consume cooldown.
- Added safer manual recovery guards for teardown, room exit, menu, and unstable object states.
- Improved recovery logging so local reset, game-side reset, skipped reset, and failed reset outcomes are distinguishable.
- Added watcher instance protection to reduce duplicate polling and duplicate recovery attempts.
- Added one-time compatibility warning when game-side reset reflection targets are unavailable.
- Hardened cached Dissonance comms lookup against Unity destroyed-object references.
- Added local failure handling around manual microphone device list queries.
- Improved manual recovery reliability by adding a direct safe local reset fallback when the normal recovery path cannot proceed.
- Synchronized assembly and file version metadata with the published package version.
0.3.0
- Added automatic microphone recovery checks.
- Added manual recovery support through plugin configuration.
- Added local microphone capture reset behavior.
- Added optional game-side Dissonance reset integration.
0.1.0
- Initial development release.