Players disconnected with AssertionException: Assertion failureFixed

Exception (cs:54962): AssertionException: Assertion failure. Values are not equal. Expected: 0 == 1 UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual (System.Int32 expected, System.Int32 actual) (at <00000000000000000000000000000000>:0) MaterialReplacement.ReplaceRecursive (UnityEngine.GameObject obj, UnityEngine.Material[] find, UnityEngine.Material[] replace) (at <00000000000000000000000000000000>:0) Rust.Workshop.Skin.Apply (UnityEngine.GameObject obj, Skinnable skinnable, UnityEngine.Material[] Materials) (at <00000000000000000000000000000000>:0) ItemModWearable.OnObjectSetup (Item item, UnityEngine.GameObject obj) (at <00000000000000000000000000000000>:0) Wearable.OnItemSetup (Item item) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.DoItemSetup (SkinnedMultiMesh+Part part, System.Collections.Generic.List`1[T] itemSetups) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.RebuildModel (PlayerModel model, System.Boolean reset) (at <00000000000000000000000000000000>:0) PlayerModel.Rebuild (System.Boolean reset) (at <00000000000000000000000000000000>:0) BasePlayer.RebuildWorldModel () (at <00000000000000000000000000000000>:0) BasePlayer.UpdateClothesIfNeeded () (at <00000000000000000000000000000000>:0) BasePlayer.ClientUpdate_Sleeping () (at <00000000000000000000000000000000>:0) BasePlayer.ClientCycle (System.Single deltaTime) (at <00000000000000000000000000000000>:0) Client.Update () (at <00000000000000000000000000000000>:
If anyone is having this issue specifically with Magic Loot AND custom loot tables enabled I will be releasing an update shortly in which you can disable the item spawn for now. It will also allow changing default loot table items but it shouldn't be in there anyways.
You can also just add "hazmatsuit.spacesuit" to the Blacklist to temp fix it on the current v1.0.2
Merged post
Here for anyone using MagicLoot a way to solve this for you (be sure to update the plugin): https://umod.org/community/magic-loot/25881-spacesuit-causing-player-dc
(18:03:01) | [redacted IP]/[redacted SteamID]/Stixx disconnecting: Exception (cs:54962): AssertionException: Assertion failure. Values are not equal. Expected: 0 == 1 UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual (System.Int32 expected, System.Int32 actual) (at <00000000000000000000000000000000>:0) MaterialReplacement.ReplaceRecursive (UnityEngine.GameObject obj, UnityEngine.Material[] find, UnityEngine.Material[] replace) (at <00000000000000000000000000000000>:0) Rust.Workshop.Skin.Apply (UnityEngine.GameObject obj, Skinnable skinnable, UnityEngine.Material[] Materials) (at <00000000000000000000000000000000>:0) ItemSkin.ApplySkin (UnityEngine.GameObject obj) (at <00000000000000000000000000000000>:0) DroppedItem.PostInitShared () (at <00000000000000000000000000000000>:0) BaseNetworkable.ClientSpawn (ProtoBuf.Entity info) (at <00000000000000000000000000000000>:0) Client.CreateOrUpdateEntity (ProtoBuf.Entity info, System.Int64 size) (at <00000000000000000000000000000000>:0) Client.OnEntities (Network.Message packet) (at <00000000000000000000000000000000>:0) Client.OnNetworkMessage (Network.Message packet) (at <00000000000000000000000000000000>:0) Facepunch.Network.Raknet.Client.HandleMessage () (at <00000000000000000000000000000000>:0) Facepunch.Network.Raknet.Client.Cycle () (at <00000000000000000000000000000000>:0) Client.Update () (at <00000000000000000000000000000000>:0) UnityEngine.Debug:LogException(Exception) Facepunch.Network.Raknet.Client:HandleMessage() Facepunch.Network.Raknet.Client:Cycle() Client:Update()
Is there any way i can stop the suits from spawning in barrels?
Added with v1.0.3, look in the documentation under https://umod.org/plugins/magic-loot#modifying-items-to-spawn
You can find it there, its called 'hazmatsuit.spacesuit' just set the Stacksize to 0 in oxide/data/MagicLoot.json
Merged postAlso please edit the original message and remove the players PII
(15:17:53) | xxxx disconnecting: Exception (cs:54962): AssertionException: Assertion failure. Values are not equal. Expected: 0 == 1 UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual (System.Int32 expected, System.Int32 actual) (at <00000000000000000000000000000000>:0) MaterialReplacement.ReplaceRecursive (UnityEngine.GameObject obj, UnityEngine.Material[] find, UnityEngine.Material[] replace) (at <00000000000000000000000000000000>:0) Rust.Workshop.Skin.Apply (UnityEngine.GameObject obj, Skinnable skinnable, UnityEngine.Material[] Materials) (at <00000000000000000000000000000000>:0) ItemModWearable.OnObjectSetup (Item item, UnityEngine.GameObject obj) (at <00000000000000000000000000000000>:0) Wearable.OnItemSetup (Item item) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.DoItemSetup (SkinnedMultiMesh+Part part, System.Collections.Generic.List`1[T] itemSetups) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.RebuildModel (PlayerModel model, System.Boolean reset) (at <00000000000000000000000000000000>:0) PlayerModel.Rebuild (System.Boolean reset) (at <00000000000000000000000000000000>:0) BasePlayer.RebuildWorldModel () (at <00000000000000000000000000000000>:0) BasePlayer.UpdateClothesIfNeeded () (at <00000000000000000000000000000000>:0) BasePlayer.ClientUpdate_Sleeping () (at <00000000000000000000000000000000>:0) BasePlayer.ClientCycle (System.Single deltaTime) (at <00000000000000000000000000000000>:0) Client.Update () (at <00000000000000000000000000000000>:0)
(15:19:11) | Loaded plugin Magic Loot v1.0.3 by collect_vood & Norn
setting with hazmatsuit.spacesuit "0" and player crash and can't connect
(15:17:53) | xxxx disconnecting: Exception (cs:54962): AssertionException: Assertion failure. Values are not equal. Expected: 0 == 1 UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message) (at <00000000000000000000000000000000>:0) UnityEngine.Assertions.Assert.AreEqual (System.Int32 expected, System.Int32 actual) (at <00000000000000000000000000000000>:0) MaterialReplacement.ReplaceRecursive (UnityEngine.GameObject obj, UnityEngine.Material[] find, UnityEngine.Material[] replace) (at <00000000000000000000000000000000>:0) Rust.Workshop.Skin.Apply (UnityEngine.GameObject obj, Skinnable skinnable, UnityEngine.Material[] Materials) (at <00000000000000000000000000000000>:0) ItemModWearable.OnObjectSetup (Item item, UnityEngine.GameObject obj) (at <00000000000000000000000000000000>:0) Wearable.OnItemSetup (Item item) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.DoItemSetup (SkinnedMultiMesh+Part part, System.Collections.Generic.List`1[T] itemSetups) (at <00000000000000000000000000000000>:0) SkinnedMultiMesh.RebuildModel (PlayerModel model, System.Boolean reset) (at <00000000000000000000000000000000>:0) PlayerModel.Rebuild (System.Boolean reset) (at <00000000000000000000000000000000>:0) BasePlayer.RebuildWorldModel () (at <00000000000000000000000000000000>:0) BasePlayer.UpdateClothesIfNeeded () (at <00000000000000000000000000000000>:0) BasePlayer.ClientUpdate_Sleeping () (at <00000000000000000000000000000000>:0) BasePlayer.ClientCycle (System.Single deltaTime) (at <00000000000000000000000000000000>:0) Client.Update () (at <00000000000000000000000000000000>:0)
(15:19:11) | Loaded plugin Magic Loot v1.0.3 by collect_vood & Norn
setting with hazmatsuit.spacesuit "0" and player crash and can't connect