BasilPanda / RoR2DronesInheritItems

A Risk of Rain 2 mod that allows drones and turrets to inherit items from the player when purchased.
GNU General Public License v3.0
1 stars 0 forks source link

Error when using Backup Drones #6

Closed sevmonster closed 4 years ago

sevmonster commented 4 years ago

On dedicated server:

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Basil_ror2.Hooks+<>c.<backupDrones>b__6_0 (On.RoR2.EquipmentSlot+orig_SummonMaster orig, RoR2.EquipmentSlot self, UnityEngine.GameObject masterObjectPrefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) (at <74cbc7bdff494b8a90aefaa3e665c287>:0)
DMD<>?569513472._Hook<RoR2_EquipmentSlot::SummonMaster>?-1652832512 (RoR2.EquipmentSlot , UnityEngine.GameObject , UnityEngine.Vector3 , UnityEngine.Quaternion ) (at <bac130369f3a48dea6f7759992e73e65>:0)
RoR2.EquipmentSlot.PerformEquipmentAction (RoR2.EquipmentIndex equipmentIndex) (at <9adb18c5484340e58a7afc9827db1de0>:0)
RoR2.EquipmentSlot.Execute () (at <9adb18c5484340e58a7afc9827db1de0>:0)
DMD<ExecuteIfReady>?569513472._ExecuteIfReady (RoR2.EquipmentSlot this) (at <a2dd0e44cb1543129b7be440da29d84b>:0)
JarlykMods.Raincoat.TeamImprovements.EquipmentSlotExecuteIfReady (On.RoR2.EquipmentSlot+orig_ExecuteIfReady orig, RoR2.EquipmentSlot self) (at <e2cdad389b004c779ecbc1399e4c8604>:0)
DMD<>?569513472._Hook<RoR2_EquipmentSlot::ExecuteIfReady>?2073035904 (RoR2.EquipmentSlot ) (at <4d8bcd80ce32479eb59164995d8264c7>:0)
RoR2.EquipmentSlot.FixedUpdate () (at <9adb18c5484340e58a7afc9827db1de0>:0)

NullReferenceException: Object reference not set to an instance of an object
  at Basil_ror2.Hooks+<>c.<backupDrones>b__6_0 (On.RoR2.EquipmentSlot+orig_SummonMaster orig, RoR2.EquipmentSlot self, UnityEngine.GameObject masterObjectPrefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00055] in <74cbc7bdff494b8a90aefaa3e665c287>:0
  at DMD<>?569513472._Hook<RoR2_EquipmentSlot::SummonMaster>?-1652832512 (RoR2.EquipmentSlot , UnityEngine.GameObject , UnityEngine.Vector3 , UnityEngine.Quaternion ) [0x00014] in <bac130369f3a48dea6f7759992e73e65>:0
  at RoR2.EquipmentSlot.PerformEquipmentAction (RoR2.EquipmentIndex equipmentIndex) [0x00202] in <9adb18c5484340e58a7afc9827db1de0>:0
  at RoR2.EquipmentSlot.Execute () [0x00034] in <9adb18c5484340e58a7afc9827db1de0>:0
  at DMD<ExecuteIfReady>?569513472._ExecuteIfReady (RoR2.EquipmentSlot this) [0x00025] in <a2dd0e44cb1543129b7be440da29d84b>:0
  at JarlykMods.Raincoat.TeamImprovements.EquipmentSlotExecuteIfReady (On.RoR2.EquipmentSlot+orig_ExecuteIfReady orig, RoR2.EquipmentSlot self) [0x0003f] in <e2cdad389b004c779ecbc1399e4c8604>:0
  at DMD<>?569513472._Hook<RoR2_EquipmentSlot::ExecuteIfReady>?2073035904 (RoR2.EquipmentSlot ) [0x00014] in <4d8bcd80ce32479eb59164995d8264c7>:0
  at RoR2.EquipmentSlot.FixedUpdate () [0x00250] in <9adb18c5484340e58a7afc9827db1de0>:0

(Filename: <74cbc7bdff494b8a90aefaa3e665c287> Line: 0)

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Basil_ror2.Hooks+<>c.<backupDrones>b__6_0 (On.RoR2.EquipmentSlot+orig_SummonMaster orig, RoR2.EquipmentSlot self, UnityEngine.GameObject masterObjectPrefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) (at <74cbc7bdff494b8a90aefaa3e665c287>:0)
DMD<>?569513472._Hook<RoR2_EquipmentSlot::SummonMaster>?-1652832512 (RoR2.EquipmentSlot , UnityEngine.GameObject , UnityEngine.Vector3 , UnityEngine.Quaternion ) (at <bac130369f3a48dea6f7759992e73e65>:0)
RoR2.EquipmentSlot.PerformEquipmentAction (RoR2.EquipmentIndex equipmentIndex) (at <9adb18c5484340e58a7afc9827db1de0>:0)
RoR2.EquipmentSlot.Execute () (at <9adb18c5484340e58a7afc9827db1de0>:0)
DMD<ExecuteIfReady>?569513472._ExecuteIfReady (RoR2.EquipmentSlot this) (at <a2dd0e44cb1543129b7be440da29d84b>:0)
JarlykMods.Raincoat.TeamImprovements.EquipmentSlotExecuteIfReady (On.RoR2.EquipmentSlot+orig_ExecuteIfReady orig, RoR2.EquipmentSlot self) (at <e2cdad389b004c779ecbc1399e4c8604>:0)
DMD<>?569513472._Hook<RoR2_EquipmentSlot::ExecuteIfReady>?2073035904 (RoR2.EquipmentSlot ) (at <4d8bcd80ce32479eb59164995d8264c7>:0)
RoR2.EquipmentSlot.CmdExecuteIfReady () (at <9adb18c5484340e58a7afc9827db1de0>:0)
RoR2.EquipmentSlot.InvokeCmdCmdExecuteIfReady (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 Basil_ror2.Hooks+<>c.<backupDrones>b__6_0 (On.RoR2.EquipmentSlot+orig_SummonMaster orig, RoR2.EquipmentSlot self, UnityEngine.GameObject masterObjectPrefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00055] in <74cbc7bdff494b8a90aefaa3e665c287>:0
  at DMD<>?569513472._Hook<RoR2_EquipmentSlot::SummonMaster>?-1652832512 (RoR2.EquipmentSlot , UnityEngine.GameObject , UnityEngine.Vector3 , UnityEngine.Quaternion ) [0x00014] in <bac130369f3a48dea6f7759992e73e65>:0
  at RoR2.EquipmentSlot.PerformEquipmentAction (RoR2.EquipmentIndex equipmentIndex) [0x00202] in <9adb18c5484340e58a7afc9827db1de0>:0
  at RoR2.EquipmentSlot.Execute () [0x00034] in <9adb18c5484340e58a7afc9827db1de0>:0
  at DMD<ExecuteIfReady>?569513472._ExecuteIfReady (RoR2.EquipmentSlot this) [0x00025] in <a2dd0e44cb1543129b7be440da29d84b>:0
  at JarlykMods.Raincoat.TeamImprovements.EquipmentSlotExecuteIfReady (On.RoR2.EquipmentSlot+orig_ExecuteIfReady orig, RoR2.EquipmentSlot self) [0x0003f] in <e2cdad389b004c779ecbc1399e4c8604>:0
  at DMD<>?569513472._Hook<RoR2_EquipmentSlot::ExecuteIfReady>?2073035904 (RoR2.EquipmentSlot ) [0x00014] in <4d8bcd80ce32479eb59164995d8264c7>:0
  at RoR2.EquipmentSlot.CmdExecuteIfReady () [0x00000] in <9adb18c5484340e58a7afc9827db1de0>:0
  at RoR2.EquipmentSlot.InvokeCmdCmdExecuteIfReady (UnityEngine.Networking.NetworkBehaviour obj, UnityEngine.Networking.NetworkReader reader) [0x00013] 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

(Filename: <74cbc7bdff494b8a90aefaa3e665c287> Line: 0)

Not sure what the issue was, I had Gesture and when it procced the counter stayed at 0 and the server slowed to a crawl. Got disconnected and the run was ended.

I don't think it would be Raincoat because it doesn't do anything unless your use item is N'kuhana's Retort (malachite aura).

List of mods installed

BasilPanda-DronesInheritItems-2.4.6
BasilPanda-EnemiesWithItems-1.2.7
bongopd-MobileTurretFungus-0.0.1
dan8991iel-LunarCoinShareOnPickup-3.5.0
Harb-HarbTweaks-1.0.0
Jarlyk-Raincoat-0.2.2
KubeRoot-AutoItemPickup-1.3.2
MagnusMagnuson-BiggerBazaar-1.7.1
SushiDev-DropinMultiplayer-1.1.0
TheRealElysium-FasterTeleportCharge-1.0.0
TheRealElysium-ScalingBloodShrines-1.0.1
tristanmcpherson-R2API-2.3.7
wildbook-MiniRpcLib-0.0.1
BasilPanda commented 4 years ago

Should be fixed on the newest version