Morris1927 / DropinMultiplayer

Drop in multiplayer mod for Risk of Rain 2!
4 stars 3 forks source link

Does not work in void? / Broken player replication? #6

Open sevmonster opened 4 years ago

sevmonster commented 4 years ago

Got this error in void when using join_as on dedicated server, no disclaimer message popped up either bit there was no error when I joined.

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
DropInMultiplayer.DropInMultiplayer.SetupUserCharacterMaster (On.RoR2.Run+orig_SetupUserCharacterMaster orig, RoR2.Run self, RoR2.NetworkUser user) (at <81588c51be0647be8480283e5d960bf9>:0)
DMD<>?-1159177728._Hook<RoR2_Run::SetupUserCharacterMaster>?-1839207680 (RoR2.Run , RoR2.NetworkUser ) (at <bc0b7c0424154ef4b1736648a25d43b8>:0)
RoR2.Run.OnUserAdded (RoR2.NetworkUser user) (at <9adb18c5484340e58a7afc9827db1de0>:0)
DMD<Start>?-1159177728._Start (RoR2.NetworkUser this) (at <216cdfe463784f7fafb6713ee517867b>:0)
DropInMultiplayer.DropInMultiplayer+<>c.<Awake>b__52_2 (On.RoR2.NetworkUser+orig_Start orig, RoR2.NetworkUser self) (at <81588c51be0647be8480283e5d960bf9>:0)
DMD<>?-1159177728._Hook<RoR2_NetworkUser::Start>?1418095360 (RoR2.NetworkUser ) (at <afc91b1f911d4a339cc7f380fcc3af5c>:0)

NullReferenceException: Object reference not set to an instance of an object
  at DropInMultiplayer.DropInMultiplayer.SetupUserCharacterMaster (On.RoR2.Run+orig_SetupUserCharacterMaster orig, RoR2.Run self, RoR2.NetworkUser user) [0x000ab] in <81588c51be0647be8480283e5d960bf9>:0
  at DMD<>?-1159177728._Hook<RoR2_Run::SetupUserCharacterMaster>?-1839207680 (RoR2.Run , RoR2.NetworkUser ) [0x00014] in <bc0b7c0424154ef4b1736648a25d43b8>:0
  at RoR2.Run.OnUserAdded (RoR2.NetworkUser user) [0x00007] in <9adb18c5484340e58a7afc9827db1de0>:0
  at DMD<Start>?-1159177728._Start (RoR2.NetworkUser this) [0x0005f] in <216cdfe463784f7fafb6713ee517867b>:0
  at DropInMultiplayer.DropInMultiplayer+<>c.<Awake>b__52_2 (On.RoR2.NetworkUser+orig_Start orig, RoR2.NetworkUser self) [0x00001] in <81588c51be0647be8480283e5d960bf9>:0
  at DMD<>?-1159177728._Hook<RoR2_NetworkUser::Start>?1418095360 (RoR2.NetworkUser ) [0x00014] in <afc91b1f911d4a339cc7f380fcc3af5c>:0

(Filename: <81588c51be0647be8480283e5d960bf9> Line: 0)

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
DropInMultiplayer.DropInMultiplayer.SetupUserCharacterMaster (On.RoR2.Run+orig_SetupUserCharacterMaster orig, RoR2.Run self, RoR2.NetworkUser user) (at <81588c51be0647be8480283e5d960bf9>:0)
DMD<>?-1159177728._Hook<RoR2_Run::SetupUserCharacterMaster>?-1839207680 (RoR2.Run , RoR2.NetworkUser ) (at <bc0b7c0424154ef4b1736648a25d43b8>:0)
RoR2.Run.OnUserAdded (RoR2.NetworkUser user) (at <9adb18c5484340e58a7afc9827db1de0>:0)
DropInMultiplayer.DropInMultiplayer.SpawnAs (RoR2.NetworkUser user, System.String bodyString, System.String userString) (at <81588c51be0647be8480283e5d960bf9>:0)
DropInMultiplayer.DropInMultiplayer.CheckIfCmdIsRequest (On.RoR2.Console+orig_RunCmd orig, RoR2.Console self, RoR2.NetworkUser sender, System.String conCommandName, System.Collections.Generic.List`1[T] userArgs) (at <81588c51be0647be8480283e5d960bf9>:0)
DMD<>?-1159177728._Hook<RoR2_Console::RunCmd>?-7227392 (RoR2.Console , RoR2.NetworkUser , System.String , System.Collections.Generic.List`1[T] ) (at <3f25f319900c4712846c40fddc36e891>:0)
RoR2.Console.RunClientCmd (RoR2.NetworkUser sender, System.String concommandName, System.String[] args) (at <9adb18c5484340e58a7afc9827db1de0>:0)
RoR2.NetworkUser.CmdSendConsoleCommand (System.String commandName, System.String[] args) (at <9adb18c5484340e58a7afc9827db1de0>:0)
RoR2.NetworkUser.InvokeCmdCmdSendConsoleCommand (UnityEngine.Networking.NetworkBehaviour obj, UnityEngine.Networking.NetworkReader reader) (at <9adb18c5484340e58a7afc9827db1de0>:0)
UnityEngine.Networking.NetworkIdentity.HandleCommand (System.Int32 cmdHash, UnityEngine.Networking.NetworkReader reader) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServer.OnCommandMessage (UnityEngine.Networking.NetworkMessage netMsg) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkConnection.HandleReader (UnityEngine.Networking.NetworkReader reader, System.Int32 receivedSize, System.Int32 channelId) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkConnection.HandleBytes (System.Byte[] buffer, System.Int32 receivedSize, System.Int32 channelId) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkConnection.TransportReceive (System.Byte[] bytes, System.Int32 numBytes, System.Int32 channelId) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServer.OnData (UnityEngine.Networking.NetworkConnection conn, System.Int32 receivedSize, System.Int32 channelId) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServer+ServerSimpleWrapper.OnData (UnityEngine.Networking.NetworkConnection conn, System.Int32 receivedSize, System.Int32 channelId) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServerSimple.HandleData (System.Int32 connectionId, System.Int32 channelId, System.Int32 receivedSize, System.Byte error) (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServerSimple.Update () (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServer.InternalUpdate () (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkServer.Update () (at <42c37d49d97b482091ab8a042de4bcf4>:0)
UnityEngine.Networking.NetworkIdentity.UNetStaticUpdate () (at <42c37d49d97b482091ab8a042de4bcf4>:0)

NullReferenceException: Object reference not set to an instance of an object
  at DropInMultiplayer.DropInMultiplayer.SetupUserCharacterMaster (On.RoR2.Run+orig_SetupUserCharacterMaster orig, RoR2.Run self, RoR2.NetworkUser user) [0x000ab] in <81588c51be0647be8480283e5d960bf9>:0
  at DMD<>?-1159177728._Hook<RoR2_Run::SetupUserCharacterMaster>?-1839207680 (RoR2.Run , RoR2.NetworkUser ) [0x00014] in <bc0b7c0424154ef4b1736648a25d43b8>:0
  at RoR2.Run.OnUserAdded (RoR2.NetworkUser user) [0x00007] in <9adb18c5484340e58a7afc9827db1de0>:0
  at DropInMultiplayer.DropInMultiplayer.SpawnAs (RoR2.NetworkUser user, System.String bodyString, System.String userString) [0x001df] in <81588c51be0647be8480283e5d960bf9>:0
  at DropInMultiplayer.DropInMultiplayer.CheckIfCmdIsRequest (On.RoR2.Console+orig_RunCmd orig, RoR2.Console self, RoR2.NetworkUser sender, System.String conCommandName, System.Collections.Generic.List`1[T] userArgs) [0x00072] in <81588c51be0647be8480283e5d960bf9>:0
  at DMD<>?-1159177728._Hook<RoR2_Console::RunCmd>?-7227392 (RoR2.Console , RoR2.NetworkUser , System.String , System.Collections.Generic.List`1[T] ) [0x00014] in <3f25f319900c4712846c40fddc36e891>:0
  at RoR2.Console.RunClientCmd (RoR2.NetworkUser sender, System.String concommandName, System.String[] args) [0x00009] in <9adb18c5484340e58a7afc9827db1de0>:0
  at RoR2.NetworkUser.CmdSendConsoleCommand (System.String commandName, System.String[] args) [0x00005] in <9adb18c5484340e58a7afc9827db1de0>:0
  at RoR2.NetworkUser.InvokeCmdCmdSendConsoleCommand (UnityEngine.Networking.NetworkBehaviour obj, UnityEngine.Networking.NetworkReader reader) [0x00025] in <9adb18c5484340e58a7afc9827db1de0>:0
  at UnityEngine.Networking.NetworkIdentity.HandleCommand (System.Int32 cmdHash, UnityEngine.Networking.NetworkReader reader) [0x00116] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServer.OnCommandMessage (UnityEngine.Networking.NetworkMessage netMsg) [0x00151] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkConnection.HandleReader (UnityEngine.Networking.NetworkReader reader, System.Int32 receivedSize, System.Int32 channelId) [0x0010b] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkConnection.HandleBytes (System.Byte[] buffer, System.Int32 receivedSize, System.Int32 channelId) [0x00007] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkConnection.TransportReceive (System.Byte[] bytes, System.Int32 numBytes, System.Int32 channelId) [0x00000] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServer.OnData (UnityEngine.Networking.NetworkConnection conn, System.Int32 receivedSize, System.Int32 channelId) [0x0000c] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServer+ServerSimpleWrapper.OnData (UnityEngine.Networking.NetworkConnection conn, System.Int32 receivedSize, System.Int32 channelId) [0x00000] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServerSimple.HandleData (System.Int32 connectionId, System.Int32 channelId, System.Int32 receivedSize, System.Byte error) [0x00049] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServerSimple.Update () [0x00118] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServer.InternalUpdate () [0x00000] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkServer.Update () [0x0000b] in <42c37d49d97b482091ab8a042de4bcf4>:0
  at UnityEngine.Networking.NetworkIdentity.UNetStaticUpdate () [0x00000] in <42c37d49d97b482091ab8a042de4bcf4>:0

Only other problem I could see is that a player wasn't being properly replicated and RPC packets were failing whenever they did something. Might be related. Not sure if these issues are from the server or the mod.

I stayed until they left void and then I spawned with them as a stock Commando (my loadout did not apply) and I had no items. I could still use join_as but it would fail to give me items and apply my loadout no matter what.

Mods: