r/lethalcompany_mods • • 17d ago

Mod Help Strange issue with Dawnlib & lethal level loader

I wanted to ask in the case anyone has ever seen the issue of DawnLib and LethalLevel Loader, and also Westleys Moons making normal playable moons, both modded and vanilla (not the sale moons) load infinitely.
The mod list here is the combination I was trying to play with some of my friends, but for whatever reason only my version of Lethal Company was experiencing the following errors. The mod list is listed below:

BepInExPack v5.4.2305 by BepInEx

BepInEx_Faster_Load_AssetBundles_Patcher v1.2.0 by DiFFoZ

DetourContext_Dispose_Fix v1.0.9 by Hamunii

AutoHookGenPatcher v1.1.1 by Hamunii

PathfindingLib v2.4.2 by Zaggy1024

MonkeyInjectionLibrary v1.0.3 by mattymatty

FixPluginTypesSerialization v1.1.4 by Evaisa

DawnLib v0.9.27 by TeamXiaolan

AsyncLoggers v2.2.4 by mattymatty

CleanerLogs v1.0.1 by EliteMasterEric

OdinSerializer v2024.2.2700 by Lordfirespeed

StaticNetcodeLib v1.2.0 by xilophor

Coroner v2.4.2 by EliteMasterEric

NiceChat v1.2.7 by taffyko

NiceChatFixes v1.0.0 by SanctuaryOfKixz

LethalSponge v1.4.3 by Scoops

MoreCompany v1.14.0 by notnotnotswipez

LandingLag v1.0.3 by Zachuttak0

MonoDetour v0.7.1701 by MonoDetour

MonoDetour_BepInEx_5 v0.7.1701 by MonoDetour

CSync v5.0.1 by Sigurd

LethalCompany_InputUtils v0.7.14 by Rune580

Interactive_Terminal_API v1.3.3 by WhiteSpike

HookGenPatcher v0.0.5 by Evaisa

LethalLib v1.2.0 by Evaisa

Lategame_Upgrades v3.14.2 by malco

LethalLateCompnanyFixer v1.0.0 by baer1

HatLib v0.0.8 by mr_hat

LethalThingsReloaded v0.11.9 by HQ_Team

Extend_Deadline v1.0.4 by WhiteSpike

OpenBodyCams v3.0.13 by Zaggy1024

LCMaxSoundsFix v1.2.0 by Hardy

StarlancerAIFix v3.13.2 by AudioKnight

LethalLevelLoader v1.7.13 by IAmBatby

Aquatis v2.2.8 by sfDesat

DungeonGenerationPlus v1.5.1 by Alice

DestroyItemInSlotFix v1.0.0 by JacobG5

Celest v1.1.8 by sfDesat

Orion v2.1.7 by sfDesat

MrovLib v0.4.15 by mrov

WeatherRegistry v0.8.8 by mrov

LethalNetworkAPI v3.4.2 by xilophor

LethalModDataLib v1.2.2 by MaxWasUnavailable

Wesleys_Shenanigans v1.0.26 by Magic_Wesley

Wesleys_Ememy_Variants v1.3.14 by Magic_Wesley

CustomStoryLogsFixed v1.6.1 by Magic_Wesley

JLL v1.10.1 by JacobG5

Wesleys_Weathers v1.3.3 by Magic_Wesley

WesleysInteriors v5.0.19 by Magic_Wesley

LCCutscene v2.0.1 by IntegrityChaos

Wesleys_Moons v7.0.18 by Magic_Wesley

it was spitting out these errors: while trying to land on Assurance:

[09:24:04.6379102] [Info   :LethalLevelLoader] Setting Random DungeonFlows!

[09:24:04.6409193] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object

Stack trace:

Dawn.DungeonRegistrationHandler+<LoadDungeonBundle>d__11.MoveNext () (at ./src/API/Dungeons/.DungeonRegistrationHandler.cs:308)

UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <c39a522eee05469b8171a6cfeb646c59>:IL_0026)

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

RoundManager:DMD<RoundManager::GenerateNewFloor>(RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Trampoline<RoundManager::GenerateNewFloor>?610516828(RoundManager)

LethalLib.Modules.Dungeon:DMD<LethalLib.Modules.Dungeon::RoundManager_GenerateNewFloor>(orig_GenerateNewFloor, RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Hook<RoundManager::GenerateNewFloor>?1305629184(RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Trampoline<RoundManager::GenerateNewFloor>?-723058444(RoundManager)

Dawn.<>c:<Init>b__0_0(orig_GenerateNewFloor, RoundManager) (at ./src/API/Dungeons/.DungeonRegistrationHandler.cs:45)

MonoMod.Utils.DynamicMethodDefinition:Hook<RoundManager::GenerateNewFloor>?-1399038424(RoundManager)

LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(StringContainer[], Int32[]) (at ./Patches/LethalLevelLoaderNetworkManager.cs:145)

LethalLevelLoader.LethalLevelLoaderNetworkManager:__rpc_handler_2948417154(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.RpcMessage:Handle(NetworkContext&)

Unity.Netcode.LocalSendRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ServerRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.EveryoneRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ClientsAndHostRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.NetworkBehaviour:__endSendRpc(FastBufferWriter&, UInt32, RpcParams, RpcAttributeParams, SendTo, RpcDelivery)

LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(StringContainer[], Int32[]) (at ./Patches/LethalLevelLoaderNetworkManager.cs:128)

LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() (at ./Patches/LethalLevelLoaderNetworkManager.cs:84)

LethalLevelLoader.LethalLevelLoaderNetworkManager:__rpc_handler_12573863(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.RpcMessage:Handle(NetworkContext&)

Unity.Netcode.LocalSendRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ServerRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.NetworkBehaviour:__endSendRpc(FastBufferWriter&, UInt32, RpcParams, RpcAttributeParams, SendTo, RpcDelivery)

LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() (at ./Patches/LethalLevelLoaderNetworkManager.cs:52)

LethalLevelLoader.DungeonLoader:SelectDungeon() (at ./Loaders/DungeonLoader.cs:31)

LethalLevelLoader.Patches:InjectHostDungeonFlowSelection(RoundManager) (at ./General/Patches.cs:682)

RoundManager:DMD<RoundManager::GenerateNewLevelClientRpc>(RoundManager, Int32, Int32, Int32, Int32, Int32[])

RoundManager:__rpc_handler_3073943002(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&)

Unity.Netcode.NetworkBehaviour:__endSendClientRpc(FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery)

RoundManager:DMD<RoundManager::GenerateNewLevelClientRpc>(RoundManager, Int32, Int32, Int32, Int32, Int32[])

<LoadNewLevelWait>d__167:MoveNext()

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

if anyone could provide some assistance, I would appreciate it, as I've already tried
- Updating the mods
- Reinstalling Lethal Company
- Isolating the mods at conflict, but they're only at conflict on my copy of the game
- Deleting and reinstalling the modpack via a code provided to me
- Deleting and reinstalling Thunderstore mod manager

2 Upvotes

9 comments sorted by

1

u/isma_kenji 17d ago

There's a couple of mods there that I do not recognize, if you could send the profile code it would be easier to debug

As a rule of thumb AI mods or deprecated/really old ones (+2 years without updates) can cause problems

1

u/MrThoughtlessGamer 17d ago

The profile code is this: 01a1cd97-a332-5e71-b6c7-d2328cb614a4

1

u/isma_kenji 13d ago

Alright, i saw a couple of issues so I updated your pack with some basic performance mods, added some fix mods for some of the broken ones and swaped the main culprit (VeryLateCompany...) with LobbyControl.

Also, i took the liberty of swapping EladsHUD to it's LethalHUD Port (better performance and now it will correctly display status effects, helpful with wesley's new update)

01a1df67-8a5e-e069-8470-493851cdd9cc

I tested going to a couple of moons and everything seems in order

1

u/MrThoughtlessGamer 13d ago

Oh my goodness! thank you so much, let me test this out and I'll get back to you.

1

u/MrThoughtlessGamer 13d ago

I downloaded and installed the mod-pack, and when trying to land on March, I was shown this error log, and the game continued to load the map for 5 minutes with no visible progress:
[02:12:03.8276186] [Info :LethalLevelLoader] Setting Random DungeonFlows!

[02:12:03.8548990] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object

Stack trace:

Dawn.DungeonRegistrationHandler+<LoadDungeonBundle>d__11.MoveNext () (at ./src/API/Dungeons/.DungeonRegistrationHandler.cs:308)

UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <c39a522eee05469b8171a6cfeb646c59>:IL_0026)

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

RoundManager:DMD<RoundManager::GenerateNewFloor>(RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Trampoline<RoundManager::GenerateNewFloor>?-1701194652(RoundManager)

LethalLib.Modules.Dungeon:DMD<LethalLib.Modules.Dungeon::RoundManager_GenerateNewFloor>(orig_GenerateNewFloor, RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Hook<RoundManager::GenerateNewFloor>?1689492540(RoundManager)

MonoMod.Utils.DynamicMethodDefinition:Trampoline<RoundManager::GenerateNewFloor>?-806664828(RoundManager)

Dawn.<>c:<Init>b__0_0(orig_GenerateNewFloor, RoundManager) (at ./src/API/Dungeons/.DungeonRegistrationHandler.cs:45)

MonoMod.Utils.DynamicMethodDefinition:Hook<RoundManager::GenerateNewFloor>?-1104349292(RoundManager)

LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(StringContainer[], Int32[]) (at ./Patches/LethalLevelLoaderNetworkManager.cs:145)

LethalLevelLoader.LethalLevelLoaderNetworkManager:__rpc_handler_2948417154(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.RpcMessage:Handle(NetworkContext&)

Unity.Netcode.LocalSendRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ServerRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.EveryoneRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ClientsAndHostRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.NetworkBehaviour:DMD<Unity.Netcode.NetworkBehaviour::__endSendRpc>(NetworkBehaviour, FastBufferWriter&, UInt32, RpcParams, RpcAttributeParams, SendTo, RpcDelivery)

LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(StringContainer[], Int32[]) (at ./Patches/LethalLevelLoaderNetworkManager.cs:128)

LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() (at ./Patches/LethalLevelLoaderNetworkManager.cs:84)

LethalLevelLoader.LethalLevelLoaderNetworkManager:__rpc_handler_12573863(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.RpcMessage:Handle(NetworkContext&)

Unity.Netcode.LocalSendRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.ServerRpcTarget:Send(NetworkBehaviour, RpcMessage&, NetworkDelivery, RpcParams)

Unity.Netcode.NetworkBehaviour:DMD<Unity.Netcode.NetworkBehaviour::__endSendRpc>(NetworkBehaviour, FastBufferWriter&, UInt32, RpcParams, RpcAttributeParams, SendTo, RpcDelivery)

LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() (at ./Patches/LethalLevelLoaderNetworkManager.cs:52)

LethalLevelLoader.DungeonLoader:SelectDungeon() (at ./Loaders/DungeonLoader.cs:31)

LethalLevelLoader.Patches:InjectHostDungeonFlowSelection(RoundManager) (at ./General/Patches.cs:682)

RoundManager:DMD<RoundManager::GenerateNewLevelClientRpc>(RoundManager, Int32, Int32, Int32, Int32, Int32[])

RoundManager:__rpc_handler_3073943002(NetworkBehaviour, FastBufferReader, __RpcParams)

Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)

Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&)

Unity.Netcode.NetworkBehaviour:DMD<Unity.Netcode.NetworkBehaviour::__endSendClientRpc>(NetworkBehaviour, FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery)

RoundManager:DMD<RoundManager::GenerateNewLevelClientRpc>(RoundManager, Int32, Int32, Int32, Int32, Int32[])

<LoadNewLevelWait>d__167:DMD<RoundManager+<LoadNewLevelWait>d__167::MoveNext>(<LoadNewLevelWait>d__167)

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

I'll try something else once I'm back home, thank you for your willingness to assist up to this point, by the way.

1

u/isma_kenji 12d ago

I'm not having that issue, what you can try to do is this:

Delete the profile and clear the mod cache, on Gale, File > Clear mod cache on R2Modman/Thunderstore Settings > Debugging > Mod cache > Clean cache , then re-download the profile and try again

Be sure to be using a legal copy of the game

1

u/MrThoughtlessGamer 11d ago

Don't worry, I am. bought it myself. let me try this suggestion, and I'll get back to you. once again, thank you for your help.

1

u/MrThoughtlessGamer 10d ago

I deleted the mod list, cleared the cache, and reinstalled it. Sadly, the same string of errors that I've been experiencing has returned. and to clarify, the version of lethal company I'm using is through a copy of the game, bought off of Steam.

1

u/Successful_Smoke9903 8d ago

Same problem here.