keep getting code error

Started by Hyuseok · 7 months ago · 2 replies · 75 views

Hyuseok
Member
JoinedJun 2023 Posts1 Score0
keep getting constant code error, can't see weapons and use them
edited 7 months ago#2
Jesus 67
Member
JoinedApr 2026 Posts1 Score175
I have same, impossible to use any weapon, after latets update, i reinstall my game and solve notin 

09:47:42 Exception when calling 'Start' on Sandbox.Systems.Equipment.Weapons.DroppedRevolver 09:47:42 Exception when calling 'OnDestroy' on Sandbox.Systems.Equipment.Equipment 09:47:42 Object reference not set to an instance of an object. 09:47:44 Object reference not set to an instance of an object. 09:47:44 Object reference not set to an instance of an object. 09:47:44 Object reference not set to an instance of an object. 09:47:44 Object reference not set to an instance of an object. 09:47:46 Object reference not set to an instance of an object. 09:47:47 Object reference not set to an instance of an object. 09:47:47 Object reference not set to an instance of an object. 09:47:47 Object reference not set to an instance of an object. 09:47:47 Object reference not set to an instance of an object. 09:47:48 Object reference not set to an instance of an object. 09:47:56 Error when setting value Equipment.Owner - Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'. 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.WeaponTracer 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.WeaponTracer 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.Revolver 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.Revolver 09:47:56 TypeLibrary could not find Sandbox.Utils.TagBinder 09:47:56 TypeLibrary could not find Sandbox.Utils.TagBinder 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.Equipment 09:47:56 TypeLibrary could not find Sandbox.Systems.Equipment.Equipment 09:47:56 Exception when calling 'Start' on Sandbox.Systems.Equipment.Equipment 09:47:57 Error when setting value Equipment.Owner - Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'. 09:47:57 [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.



2026/04/29 21:46:46.4403	[Generic] Installation Complete (3.02s)	
2026/04/29 21:46:46.4403	[Generic] Downloading 0 files..	
2026/04/29 21:46:46.4403	[Generic] Download Complete (0 files total) (0.00s)	
2026/04/29 21:46:47.2202	[Generic] Error when setting value Equipment.Owner - Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'.	System.ArgumentException: Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'.
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.PropertyInfo.SetValue(Object obj, Object value)
   at Sandbox.NetworkObject.<>c__DisplayClass98_1.<RegisterProperties>b__2(Object v)
   at Sandbox.Network.NetworkTable.SetValue(Int32 slot, Object value)
2026/04/29 21:46:47.2241	[SerializerPacker<Sandbox.Systems.Equipment.Equipment>] [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.	System.InvalidCastException: [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.
   at Sandbox.Internal.<Serializer>F35212D75EFAC2C42F368F166B001D33B49E94D465C7A7DC2934F8DC1C954BC0D__SerializerPacker`1.Read(ByteStream& bs)
2026/04/29 21:46:47.2487	[SerializerPacker<Sandbox.Systems.Equipment.Equipment>] [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.	System.InvalidCastException: [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.
   at Sandbox.Internal.<Serializer>F35212D75EFAC2C42F368F166B001D33B49E94D465C7A7DC2934F8DC1C954BC0D__SerializerPacker`1.Read(ByteStream& bs)
2026/04/29 21:46:47.2487	[Generic] Error when setting value Equipment.Owner - Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'.	System.ArgumentException: Object of type 'Sandbox.Systems.Pawn.Player.PlayerPawn' cannot be converted to type 'Sandbox.Systems.Pawn.Player.PlayerPawn'.
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.PropertyInfo.SetValue(Object obj, Object value)
   at Sandbox.NetworkObject.<>c__DisplayClass98_1.<RegisterProperties>b__2(Object v)
   at Sandbox.Network.NetworkTable.SetValue(Int32 slot, Object value)
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.WeaponTracer	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.WeaponTracer	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.Revolver	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.Revolver	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Utils.TagBinder	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Utils.TagBinder	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Equipment	
2026/04/29 21:46:47.5504	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Equipment	
2026/04/29 21:46:47.5532	[Generic] Error when deserializing Sandbox.Systems.Pawn.Player.PlayerPawn.CurrentEquipment ([A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.)
{
  "_type": "component",
  "component_id": "de8bc874-35a7-498d-a3aa-0624a77982b5",
  "go": "c5a4542c-b34f-4476-b29f-58f574c39046",
  "component_type": "Equipment"
}	System.InvalidCastException: [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.
   at Sandbox.<IJsonConvert>FFCA5377F862603EA420ADECAD9AFA6090E60A01936DB369CC204EC0E97D2B2F0__JsonSerializedConvert`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsObject(Utf8JsonReader& reader, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromNodeAsObject(JsonNode node, JsonTypeInfo jsonTypeInfo)
   at Sandbox.Component.DeserializeProperty(MemberDescription member, JsonNode node)
   at Sandbox.Component.PostDeserialize()
2026/04/29 21:46:47.5532	[Generic] Error when deserializing Sandbox.Systems.Pawn.Player.PlayerPawn.CurrentEquipment ([A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.)
{
  "_type": "component",
  "component_id": "f2f0bbcc-cc88-4bc0-9ff0-b611b06a66b2",
  "go": "61baf952-f404-4f27-839a-1c26bd88a7e3",
  "component_type": "Equipment"
}	System.InvalidCastException: [A]Sandbox.Systems.Equipment.Equipment cannot be cast to [B]Sandbox.Systems.Equipment.Equipment. Type A originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #13' in a byte array. Type B originates from 'package.despawn.murder, Version=0.0.122.0, Culture=neutral, PublicKeyToken=null' in the context '"IsolatedAssemblyContext" Sandbox.Internal.IsolatedAssemblyContext #17' in a byte array.
   at Sandbox.<IJsonConvert>FFCA5377F862603EA420ADECAD9AFA6090E60A01936DB369CC204EC0E97D2B2F0__JsonSerializedConvert`1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsObject(Utf8JsonReader& reader, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromNodeAsObject(JsonNode node, JsonTypeInfo jsonTypeInfo)
   at Sandbox.Component.DeserializeProperty(MemberDescription member, JsonNode node)
   at Sandbox.Component.PostDeserialize()
2026/04/29 21:46:47.5532	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.MeleeWeapon	
2026/04/29 21:46:47.5532	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.Weapons.MeleeWeapon	
2026/04/29 21:46:47.5532	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.MeleeTracer	
2026/04/29 21:46:47.5532	[Generic] TypeLibrary could not find Sandbox.Systems.Equipment.MeleeTracer	
2026/04/29 21:46:47.5532	[Generic] TypeLibrary could not find Sandbox.Utils.TagBinder	

CupCakeR
Member
JoinedMay 2021 Posts15 Score1,320
This issue was caused by the last S&box update. Facepunch has resolved this. Update your client and try again.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.