Saver won't be registered because a same key is already registered error.

I am trying to eliminate all my errors and this one has been plaguing me for some time now. I have my shop UI with Inventory to buy and sell, and the Shop Menu Script. My General Store has the Inventory script of player, shop menu opener script and shop script. Hopefully the pictures explain how the game is set up. Maybe you can identify what it is I need to do to remove this error? Thank you. Opsive 34 A.pngOpsive 34 B.pngOpsive 34 C.pngOpsive 34 D.png
 
The warning says that you have two Savers with the same key. In te screenshot you sent I don't see any Saver components so I'm not sure what's going on.

What you can do is search for "Saver" or "InventorySaver" or other saver components names in the scene hierarchy to see what gameobject have savers. Then check what keys they have. if you haven't specified own they will be given an ID from their gameobject name.

That means if you have two game object with the same name they they will collide Saver ID and you will get an this warning.
This warning will also happen if you are spawning a prefab with the same Saver ID
 
Back
Top