Hello,
i am having a problem with the save system, after my inventory exceeds 100 items, i get the error when loading :
ArgumentException: An item with the same key has already been added. Key: -920785808
Duplicated id always has the same key.
i am using unique and mutable items.
i have made a small project that you can check out to duplicate the issue.
here is the assets file google drive link :
Replace Assets with the Assets that i provided, set up inventory system with my provided database, play the game, press the button to twice to add 200 items, close the game and see the error.
Thanks for the help in advance!
(mod edit: please do not share links to assets in your post - not everyone who reads this post has a license to the linked assets)
i am having a problem with the save system, after my inventory exceeds 100 items, i get the error when loading :
ArgumentException: An item with the same key has already been added. Key: -920785808
Duplicated id always has the same key.
i am using unique and mutable items.
i have made a small project that you can check out to duplicate the issue.
here is the assets file google drive link :
Replace Assets with the Assets that i provided, set up inventory system with my provided database, play the game, press the button to twice to add 200 items, close the game and see the error.
Thanks for the help in advance!
(mod edit: please do not share links to assets in your post - not everyone who reads this post has a license to the linked assets)
Last edited by a moderator: