Zaggy1024 / LC_OpenBodyCams

An open-source mod for Lethal Company to add a body/head camera that is displayed on the bottom right monitor in the ship, with the goal of appearing almost identical to the player's actual perspective while providing good performance.
https://thunderstore.io/c/lethal-company/p/Zaggy1024/OpenBodyCams/
MIT License
10 stars 1 forks source link

[Bug] Bootup issue after MoreCompany 1.10.2 update #59

Open ajsglist opened 4 hours ago

ajsglist commented 4 hours ago

Hey there,

Getting a bootup error after updating to the newest release of MoreCompany. OBC seems to function, but they start purchased/unlocked (with no antenna) despite having the settings to make it a purchased upgrade.

[21:25:33.9913965] [Info   :   BepInEx] Loading [OpenBodyCams 2.4.5]
[21:25:34.0594121] [Info   :OpenBodyCams] Successfully loaded OpenBodyCams assets.
[21:25:34.2604571] [Info   :OpenBodyCams] Patched UnlockableSuit to spawn cosmetics for both perspectives on all players.
[21:25:34.7775745] [Info   :OpenBodyCams] Last config version is 2.4.5.
[21:25:34.7835754] [Error  : Unity Log] TypeLoadException: Could not resolve type with token 01000103 from typeref (expected class 'MoreCompany.ClientReceiveMessagePatch' in assembly 'MoreCompany, Version=1.7.6.0, Culture=neutral, PublicKeyToken=null')
Stack trace:
OpenBodyCams.Utilities.Cosmetics.Initialize (HarmonyLib.Harmony harmony) (at <9f7f0c7353f64b9ab05c72a664f861a3>:IL_007C)
OpenBodyCams.Plugin.Awake () (at <9f7f0c7353f64b9ab05c72a664f861a3>:IL_0A4E)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset:OnEnable()

Cheers

ajsglist commented 1 hour ago

It's also worth noting that there is an OBC issue related to the new hat.

For Host, the hat is always hidden on the OBC bodycam nominally. When a TME emote is performed, the TME first person bodycam is obscured by the hat covering the cam.

image

When the emote is cancelled and the OBC returns to first person, the bodycam reverts to it's nominal state and is fine.

image

However it's a different story for non-host players. Non-host players connected to the lobby will observe the hat obscuring the OBC bodycam even in the default state, even when no emoting is occurring

image

edit: Here's the current mod profile in case you need it to repro anything. If there's any additional info you'd like, just let me know

0192bbe6-7a05-3afb-8abc-610789240eb2