hero622 / lcbhop

Bhop mod for Lethal Company.
MIT License
2 stars 3 forks source link

Mod does not work #1

Open Rapturepunk opened 9 months ago

Rapturepunk commented 9 months ago

Unhelpful title, I know. I have installed the bhop mod and no other mods; despite this, upon loading in as a host on a fresh save, I am immediately completely unable to move, and appear to be perpetually airborne / falling. The only movement input that does anything is attempting to crouch.

Inspecting the log after I attempt to jump reveals the following:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
lcbhop.Jump_performed_Patch.Prefix (UnityEngine.InputSystem.InputAction+CallbackContext& context) (at <ce9637f711fa4d11b5016e179ba77129>:0)
(wrapper dynamic-method) GameNetcodeStuff.PlayerControllerB.DMD<GameNetcodeStuff.PlayerControllerB::Jump_performed>(GameNetcodeStuff.PlayerControllerB,UnityEngine.InputSystem.InputAction/CallbackContext)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray\`1[System.Action\`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <69a3ba35f0be43dc9f2827cb84fef646>:0)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error  : Unity Log] NullReferenceException while executing 'performed' callbacks of 'Movement/Jump[/Keyboard/space]'

Hopefully this is of some help in identifying the issue.

CatGaming3 commented 8 months ago

Same issue, unable to move

DemiAi commented 8 months ago

same here, mod was loaded but i was stuck on the roof of the ship :/

hero622 commented 8 months ago

fix at #5