SylviBlossom / LC-BoomboxYT

Simple mod to play YouTube links on the Boombox.
MIT License
2 stars 0 forks source link

Boombox softlock #4

Closed Kondakov02 closed 5 months ago

Kondakov02 commented 5 months ago

When Remnants mod is loaded alongside this, picking up remnant boombox causes player to be softlocked. The inventory is inaccessible and player can't interact with anything. Here's the stack trace and I also attached a full log file. WithBoomboxYT.log

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: BoomboxYT.Patches.SetControlTipsForItem (GrabbableObject instance) (at <86d03fd8200b4cc5a3451e92511085ae>:IL_0017) (wrapper dynamic-method) GrabbableObject.DMD(GrabbableObject) (wrapper dynamic-method) GrabbableObject.DMD(GrabbableObject) GameNetcodeStuff.PlayerControllerB.SwitchToItemSlot (System.Int32 slot, GrabbableObject fillSlotWithItem) (at :IL_014C) GameNetcodeStuff.PlayerControllerB.GrabObjectClientRpc (System.Boolean grabValidated, Unity.Netcode.NetworkObjectReference grabbedObject) (at :IL_0130) GameNetcodeStuff.PlayerControllerB.rpc_handler_2552479808 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.RpcParams rpcParams) (at :IL_0064) Unity.Netcode.RpcMessageHelpers.Handle (Unity.Netcode.NetworkContext& context, Unity.Netcode.RpcMetadata& metadata, Unity.Netcode.FastBufferReader& payload, Unity.Netcode.RpcParams& rpcParams) (at <895801699cfc4b4ab52267f31e2a4998>:IL_004E) Rethrow as Exception: Unhandled RPC exception! UnityEngine.Debug:LogException(Exception) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:endSendClientRpc(FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery) GameNetcodeStuff.PlayerControllerB:GrabObjectClientRpc(Boolean, NetworkObjectReference) GameNetcodeStuff.PlayerControllerB:GrabObjectServerRpc(NetworkObjectReference) GameNetcodeStuff.PlayerControllerB:rpc_handler_1554282707(NetworkBehaviour, FastBufferReader, RpcParams) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:endSendServerRpc(FastBufferWriter&, UInt32, ServerRpcParams, RpcDelivery) GameNetcodeStuff.PlayerControllerB:GrabObjectServerRpc(NetworkObjectReference) GameNetcodeStuff.PlayerControllerB:BeginGrabObject() GameNetcodeStuff.PlayerControllerB:Interact_performed(CallbackContext) UnityEngine.InputSystem.LowLevel.<>cDisplayClass7_0:b0(NativeInputUpdateType, NativeInputEventBuffer*) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: BoomboxYT.Patches.SetControlTipsForItem (GrabbableObject instance) (at <86d03fd8200b4cc5a3451e92511085ae>:IL_0017) (wrapper dynamic-method) GrabbableObject.DMD(GrabbableObject) (wrapper dynamic-method) GrabbableObject.DMD(GrabbableObject) GameNetcodeStuff.PlayerControllerB.SwitchToItemSlot (System.Int32 slot, GrabbableObject fillSlotWithItem) (at :IL_014C) GameNetcodeStuff.PlayerControllerB.GrabObjectClientRpc (System.Boolean grabValidated, Unity.Netcode.NetworkObjectReference grabbedObject) (at :IL_0130) GameNetcodeStuff.PlayerControllerB.GrabObjectServerRpc (Unity.Netcode.NetworkObjectReference grabbedObject) (at :IL_018C) GameNetcodeStuff.PlayerControllerB.rpc_handler_1554282707 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.RpcParams rpcParams) (at :IL_0096) Unity.Netcode.RpcMessageHelpers.Handle (Unity.Netcode.NetworkContext& context, Unity.Netcode.RpcMetadata& metadata, Unity.Netcode.FastBufferReader& payload, Unity.Netcode.__RpcParams& rpcParams) (at <895801699cfc4b4ab52267f31e2a4998>:IL_004E) Rethrow as Exception: Unhandled RPC exception! UnityEngine.Debug:LogException(Exception) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:__endSendServerRpc(FastBufferWriter&, UInt32, ServerRpcParams, RpcDelivery) GameNetcodeStuff.PlayerControllerB:GrabObjectServerRpc(NetworkObjectReference) GameNetcodeStuff.PlayerControllerB:BeginGrabObject() GameNetcodeStuff.PlayerControllerB:Interact_performed(CallbackContext) UnityEngine.InputSystem.LowLevel.<>cDisplayClass7_0:b0(NativeInputUpdateType, NativeInputEventBuffer*) UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

SylviBlossom commented 5 months ago

sorry about that! the issue should be fixed in the latest update