HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
44 stars 6 forks source link

The map created cannot be landed #80

Open apeng0907 opened 9 months ago

apeng0907 commented 9 months ago

[Error :LethalExpansion(core)] Failed to register AssetBundle prefabs for 'PengCity', this may cause issues. Object reference not set to an instance of an object

apeng0907 commented 9 months ago

[Info :LethalLevelLoader] CurrentLevel: PengCity DungeonSize Is: 1 | Leaving DungeonSize As: 1 (1.5) [Info :LethalExpansion(core)] Updating fire exit count from (1 - 1) to (-1 - -1) [Error : Unity Log] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack trace: System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <787acc3c9a4c471ba7d971300105af24>:IL_0009) LethalLevelLoader.DungeonLoader.PatchFireEscapes (DunGen.DungeonGenerator dungeonGenerator, LethalLevelLoader.ExtendedLevel extendedLevel, UnityEngine.SceneManagement.Scene scene) (at <519c156a8dbc4475bcf45d93d9f3cd0d>:IL_00F8) LethalLevelLoader.DungeonLoader.PrepareDungeon () (at <519c156a8dbc4475bcf45d93d9f3cd0d>:IL_002F) LethalLevelLoader.Patches.DungeonGeneratorGenerate_Prefix (DunGen.DungeonGenerator instance) (at <519c156a8dbc4475bcf45d93d9f3cd0d>:IL_0010) (wrapper dynamic-method) DunGen.DungeonGenerator.DMD(DunGen.DungeonGenerator) DunGen.RuntimeDungeon.Generate () (at :IL_002C) LethalLevelLoader.LethalLevelLoaderNetworkManager.SetDungeonFlowSizeClientRpc (System.Single hostSize) (at <519c156a8dbc4475bcf45d93d9f3cd0d>:IL_00F1) LethalLevelLoader.LethalLevelLoaderNetworkManager.rpc_handler_1778200789 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.RpcParams rpcParams) (at <519c156a8dbc4475bcf45d93d9f3cd0d>:IL_0049) 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) LethalLevelLoader.LethalLevelLoaderNetworkManager:SetDungeonFlowSizeClientRpc(Single) LethalLevelLoader.LethalLevelLoaderNetworkManager:GetDungeonFlowSizeServerRpc() LethalLevelLoader.LethalLevelLoaderNetworkManager:rpc_handler_1367970965(NetworkBehaviour, FastBufferReader, RpcParams) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:endSendServerRpc(FastBufferWriter&, UInt32, ServerRpcParams, RpcDelivery) LethalLevelLoader.LethalLevelLoaderNetworkManager:GetDungeonFlowSizeServerRpc() LethalLevelLoader.Patches:InjectHostDungeonSizeSelection(RoundManager) RoundManager:DMD(RoundManager) MonoMod.Utils.DynamicMethodDefinition:Trampoline?-1451165738(RoundManager) LethalLevelLoader.Patches:Dungeon_GenerateNewFloor_Prefix(orig_GenerateNewFloor, RoundManager) LethalLib.Modules.Dungeon:DMD(orig_GenerateNewFloor, RoundManager) MonoMod.Utils.DynamicMethodDefinition:Hook?595850832(RoundManager) LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(Int32[], Int32[]) LethalLevelLoader.LethalLevelLoaderNetworkManager:rpc_handler_1934987400(NetworkBehaviour, FastBufferReader, RpcParams) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:endSendClientRpc(FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery) LethalLevelLoader.LethalLevelLoaderNetworkManager:SetRandomExtendedDungeonFlowClientRpc(Int32[], Int32[]) LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() LethalLevelLoader.LethalLevelLoaderNetworkManager:rpc_handler_12573863(NetworkBehaviour, FastBufferReader, RpcParams) Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, RpcParams&) Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&) Unity.Netcode.NetworkBehaviour:endSendServerRpc(FastBufferWriter&, UInt32, ServerRpcParams, RpcDelivery) LethalLevelLoader.LethalLevelLoaderNetworkManager:GetRandomExtendedDungeonFlowServerRpc() LethalLevelLoader.DungeonLoader:SelectDungeon() LethalLevelLoader.Patches:InjectHostDungeonFlowSelection() RoundManager:DMD(RoundManager, Int32, Int32) RoundManager:DMD(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, Int32, Int32)

d__115:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
HolographicWings commented 9 months ago

LECore is not my mod i'm sorry, the code is too different from LE