Malcolm-Q / LC-LateGameUpgrades

Repo for the LateGameUpgrades Lethal Company Mod.
MIT License
13 stars 9 forks source link

Unable to reload save #446

Closed Keaft closed 7 months ago

Keaft commented 7 months ago

Steps to reproduce: Start a new save, go into the facility, gather scrap (unsure if necessary), launch the ship, wait until orbit to save, quit, try to host the save.

You will appear in the wall without control of the character and the log spams:

Stack trace:
MoreShipUpgrades.UpgradeComponents.Items.Wheelbarrow.WheelbarrowScript.CheckIfPlayerCarryingWheelbarrowLookSensitivity (System.Single defaultValue) (at <96c909531e89475ea3192f3fbaf4416c>:IL_0044)
(wrapper dynamic-method) GameNetcodeStuff.PlayerControllerB.DMD<GameNetcodeStuff.PlayerControllerB::PlayerLookInput>(GameNetcodeStuff.PlayerControllerB)
(wrapper dynamic-method) GameNetcodeStuff.PlayerControllerB.DMD<GameNetcodeStuff.PlayerControllerB::LateUpdate>(GameNetcodeStuff.PlayerControllerB)

LogOutput.log

I wonder if another mod is touching the look sensitivity? I know GeneralImprovements adds the ability to look more down.

Interestingly, it appears that completely exiting the game and restarting allows the save to be hosted once again.

Here is the current modlist under The_Pathfinders_Modpack

Evaisa-FixPluginTypesSerialization-1.1.1
mattymatty-AsyncLoggers-1.6.2
BepInEx-BepInExPack-5.4.2100
Sigurd-CSync-4.1.0
Magic_Wesley-Acidir-4.2.3
Suskitech-AlwaysHearActiveWalkies-1.4.5
Swaggies-BetterEXP-2.0.0
PopleZoo-BetterItemScan-3.0.2
taffyko-BetterSprayPaint-2.0.2
fumiko-CullFactory-1.1.0
akechii-DiscountAlert-2.3.0
linkoid-DissonanceLagFix-1.0.0
EladNLG-EladsHUD-1.2.1
boring-EmoteWhileInMotion-1.0.0
amnsoft-EmployeeAssignments-1.1.0
Bobbie-FixRPCLag-1.0.1
Renegades-FlashlightToggle-1.5.0
ShaosilGaming-GeneralImprovements-1.2.3
Sligili-HDLethalCompany-1.5.6
Monkeytype-HideChat-1.0.0
Evaisa-HookGenPatcher-0.0.5
FlipMods-HotbarPlus-1.6.3
anormaltwig-LateCompany-1.0.13
malco-Lategame_Upgrades-3.5.7
Pooble-LCBetterSaves-1.7.3
Hardy-LCMaxSoundsFix-1.1.0
Rune580-LethalCompany_InputUtils-0.7.4
AinaVT-LethalConfig-1.4.2
jockie-LethalExpansionCore-1.3.15
Evaisa-LethalLib-0.15.1
Evaisa-LethalThings-0.10.4
kyxino-LethalUtilities-1.2.21
Fredolx-MeteoMultiplier-1.1.3
notnotnotswipez-MoreCompany-1.9.1
Drakorle-MoreItems-1.0.2
x753-More_Suits-1.4.3
ViViKo-MoreMaterials-1.3.2
Zaggy1024-OpenBodyCams-1.3.0
Zaggy1024-PathfindingLagFix-1.2.1
Magic_Wesley-Polarus-2.3.4
AllToasters-QuickRestart-1.2.0
AudioKnight-StarlancerAIFix-3.6.0
Hexnet111-SuitSaver-1.2.0
Slam-TerminalPlus-1.1.1
quackandcheese-ToggleMute-1.3.1
Verity-TooManySuits-1.0.9
5Bit-VoiceHUD-1.0.4
5andwiches-5andwiches_Closet-2.0.2
ThePathfinders-The_Pathfinders_Modpack-24.4.3
WhiteSpike commented 7 months ago

If this is v50, LE has been deprecated. LethalLib seems to fail on registering either enemies and scrap items. I don't know if this is an issue with the item/enemy itself or the library. The sensitivity error spam is a consequence of something breaking on save boot, not necessarily the cause.

Keaft commented 7 months ago

I've gone ahead and disabled LethalExpansionCore-1.3.15 and it's dependents Magic_Wesley-Acidir-4.2.3 and Magic_Wesley-Polarus-2.3.4.

Thanks for directing my attention to the LethalLib errors. I do notice the first of the LethalLib Enemy error appears after:

[Info   :LethalThings] Spawning config manager

LogOutput.log

I'll take a gander in that direction!

Edit: Disabling LethalThings mitigates the Enemy and Item errors, but LethalLib still struggles elsewhere. Currently the only dependent of LethalLib in my testing list is LateGameUpgrades.

LogOutput.log

Keaft commented 7 months ago

The issue is definitely elsewhere. I've removed the following mods and the issue has resolved.

QuickRestart
EmployeeAssignments
StarlancerAIFix
EmoteWhileInMotion
MoreItems
LCMaxSoundsFix
LethalUtilities
TerminalPlus
LethalExpansionCore
Polarus
Acidir

My complete list as of now:

Evaisa-FixPluginTypesSerialization-1.1.1
mattymatty-AsyncLoggers-1.6.2
BepInEx-BepInExPack-5.4.2100
Sigurd-CSync-4.1.0
Suskitech-AlwaysHearActiveWalkies-1.4.5
Swaggies-BetterEXP-2.0.0
PopleZoo-BetterItemScan-3.0.2
taffyko-BetterSprayPaint-2.0.2
fumiko-CullFactory-1.1.0
akechii-DiscountAlert-2.3.0
linkoid-DissonanceLagFix-1.0.0
EladNLG-EladsHUD-1.2.1
Bobbie-FixRPCLag-1.0.1
Renegades-FlashlightToggle-1.5.0
ShaosilGaming-GeneralImprovements-1.2.3
Sligili-HDLethalCompany-1.5.6
Monkeytype-HideChat-1.0.0
Evaisa-HookGenPatcher-0.0.5
FlipMods-HotbarPlus-1.6.4
anormaltwig-LateCompany-1.0.13
malco-Lategame_Upgrades-3.6.1
Pooble-LCBetterSaves-1.7.3
Rune580-LethalCompany_InputUtils-0.7.4
AinaVT-LethalConfig-1.4.2
Evaisa-LethalLib-0.15.1
Evaisa-LethalThings-0.10.4
Fredolx-MeteoMultiplier-1.1.3
notnotnotswipez-MoreCompany-1.9.1
x753-More_Suits-1.4.3
ViViKo-MoreMaterials-1.3.2
Zaggy1024-OpenBodyCams-1.3.0
Zaggy1024-PathfindingLagFix-1.2.1
Hexnet111-SuitSaver-1.2.0
quackandcheese-ToggleMute-1.3.1
Verity-TooManySuits-1.0.9
5Bit-VoiceHUD-1.0.4
5andwiches-5andwiches_Closet-2.0.2
ThePathfinders-The_Pathfinders_Modpack-24.4.3
MaxWasUnavailable-LethalModDataLib-1.2.2
IAmBatby-LethalLevelLoader-1.2.2
Zingar-Atlas_Abyss-1.1.8
Dantor-Dantors_Mental_Hospital-1.2.2
Tolian-PsychSanctum-0.5.4
scoopy-Scoopys_Variety_Mod-1.2.0
AMRV-ConfigurableCompany-3.4.0
AMRV-LethalCompanyVariables-2.3.2