skinwalker
Member
Hi,
when i'm loading my items i'm getting this warning and no items have been loaded, what I do is first load the
InventorySystemManagerItemSaver and then my inventory saver and inventorygridsaver. I do them one after the other without using a coroutine.
Warning: "Saved Item ID 1147884498 could not be retrieved from the Inventory System Manager."
This repeats for every item.
Items are Mutable & Unique, if it matters.
The only solution I found is to wait 5 seconds and then load it, works everytime on my machine, but I'm worried that the timing may be different on other computers. I should mention that I load one more inventory before that (which also uses InventorySystemManagerItemSaver, but in it's case I only wait for 2 seconds (maybe because it's smaller in size or something).
Edit:
I think I have done one mistake, I'm saving and loading the "Inventory System Manager" in 2 different places.
1. For stash
2. For player
I guess this one is universal and should only be saved and loaded from one place, so can you confirm Inventory System Manager must be saved in one file and it's shared across all inventories even if they are 10? If so, one downside i see is imagine player has 3 stash inventories only available in the menu scene (like escape from tarkov), then I don't see a reason to always re-save the items in them in the game scene when they remain untouched, because they are only available in the menu.
when i'm loading my items i'm getting this warning and no items have been loaded, what I do is first load the
InventorySystemManagerItemSaver and then my inventory saver and inventorygridsaver. I do them one after the other without using a coroutine.
Warning: "Saved Item ID 1147884498 could not be retrieved from the Inventory System Manager."
This repeats for every item.
Items are Mutable & Unique, if it matters.
The only solution I found is to wait 5 seconds and then load it, works everytime on my machine, but I'm worried that the timing may be different on other computers. I should mention that I load one more inventory before that (which also uses InventorySystemManagerItemSaver, but in it's case I only wait for 2 seconds (maybe because it's smaller in size or something).
Edit:
I think I have done one mistake, I'm saving and loading the "Inventory System Manager" in 2 different places.
1. For stash
2. For player
I guess this one is universal and should only be saved and loaded from one place, so can you confirm Inventory System Manager must be saved in one file and it's shared across all inventories even if they are 10? If so, one downside i see is imagine player has 3 stash inventories only available in the menu scene (like escape from tarkov), then I don't see a reason to always re-save the items in them in the game scene when they remain untouched, because they are only available in the menu.
Last edited: