Hey,
I'm getting this warning when loading a save (I edited the warning to show what the existing ItemCollection is):
What I'm doing is starting the game, when my Player prefab is instantiated I add a bunch of equipment directly into the Equipment ItemCollection (the characters starting equipment so to speak), then I save my players Inventory before changing scenes and change the scene. In the new scene I instantiate the player prefab again and load the saved inventory. That's when I get the warning.
I'm using PixelCrushers save system and his "SaveSystem.LoadScene()" method.
Then if I unequip one of my items I get this warning:
Despite these warnings everything still seems to be working fine, so I'm unsure if something will break later in the game if I don't fix this.
I'm getting this warning when loading a save (I edited the warning to show what the existing ItemCollection is):
Code:
The Mutable Item Initiates Vest is unable to be added to a new Item Collection ItemCollection Equipment (Equipped) when it is already a member of an existing Item Collection ItemCollection Equipment (Equipped).
What I'm doing is starting the game, when my Player prefab is instantiated I add a bunch of equipment directly into the Equipment ItemCollection (the characters starting equipment so to speak), then I save my players Inventory before changing scenes and change the scene. In the new scene I instantiate the player prefab again and load the saved inventory. That's when I get the warning.
I'm using PixelCrushers save system and his "SaveSystem.LoadScene()" method.
Then if I unequip one of my items I get this warning:
Code:
Item was removed from an Item Collection which was not set on the item.
Despite these warnings everything still seems to be working fine, so I'm unsure if something will break later in the game if I don't fix this.