When I change the Weapon SO to WeaponConfig I get the following errors when I try and start the game as Sam did. It’s like it didn’t fix the other areas where WeaponConfig is used.
NullReferenceException: Object reference not set to an instance of an object
RPG.Combat.Fighter.AttachWeapon (RPG.Combat.WeaponConfig weaponConfig) (at Assets/Scripts/Combat/Fighter.cs:78)
RPG.Combat.Fighter.EquipWeapon (RPG.Combat.WeaponConfig weaponConfig) (at Assets/Scripts/Combat/Fighter.cs:72)
RPG.Combat.WeaponPickup.Pickup (RPG.Combat.Fighter fighter) (at Assets/Scripts/Combat/WeaponPickup.cs:31)
RPG.Combat.WeaponPickup.HandleRaycast (RPG.Control.PlayerController callingController) (at Assets/Scripts/Combat/WeaponPickup.cs:60)
RPG.Control.PlayerController.InteractWithComponent () (at Assets/Scripts/Control/PlayerController.cs:64)
RPG.Control.PlayerController.Update () (at Assets/Scripts/Control/PlayerController.cs:50)