I have a game where the player picks up a weapon and it is then placed as the GameObject variable to my player called \"MainHandWeapon\" and I am trying to save that weapon
Ideally you should have an object which hold the weapon data (attack, durability, etc ...) and serialize this object, it makes your save games much smaller, and is more OOP, as you can inherit from that class.