Hello
I have a question about Save system for Opsive Character Controllers.
I did everything according to the instructions and everything works fine.
only after loading a save game all my items in the inventory are doubled.
Is this known? what have I forgotten?
Thanks for the help
Ps
I use the The Third Person Controller , Ultimate Inventory System and the newest Integration.
Doubling of the items
Re: Doubling of the items
Hi,
Did you untick the UCC Saver's 'Save Inventory' checkbox. Since the UIS Saver restores inventory, you don't need to also restore it using UCC Saver.
In addition, make sure you've configured UIS itself so it doesn't also restore inventory, since the Save System will restore it.
Does saving and loading work properly in the Save System's included demo scene?
Did you untick the UCC Saver's 'Save Inventory' checkbox. Since the UIS Saver restores inventory, you don't need to also restore it using UCC Saver.
In addition, make sure you've configured UIS itself so it doesn't also restore inventory, since the Save System will restore it.
Does saving and loading work properly in the Save System's included demo scene?
Re: Doubling of the items
Hi,
thanks for the quick feedback
Yes, I have unticked the UCC Saver "Save Inventory".
How can I configure UIS so that it does not also restore the inventory?
I removed the two components "Inventory Saver" and "Currency Owner Saver" once, but I still have a duplication.
what i found out is: the doubling of the items only happens if the items are in the inventory from the beginning. if i pick up an item and then save and load it works.
I can live with that..
In the demo, everything works.
thanks for the quick feedback
Yes, I have unticked the UCC Saver "Save Inventory".
How can I configure UIS so that it does not also restore the inventory?
I removed the two components "Inventory Saver" and "Currency Owner Saver" once, but I still have a duplication.
what i found out is: the doubling of the items only happens if the items are in the inventory from the beginning. if i pick up an item and then save and load it works.
I can live with that..
In the demo, everything works.
Re: Doubling of the items
Here are a few things to check:
- Remove the Save System Manager component and add the Save System Manager No Disk component in its place.
- On your player inventory GameObject, untick the Inventory Saver component's Load On Start checkbox.
- You can temporarily tick all of the Save System components' Debug checkboxes to log a bunch of info the Console window. It might give a clue as to what's going on. Also look for any warnings or errors.
Re: Doubling of the items
Hi Polygonya and Tony
I got stuck on this one as well. The issue for me is that I had both InventorySaver and InventoryBridgeSaver components on my player. If you are using the UCC/UIS integration you only need the InventoryBridgeSaver on your player.
Hope this helps
Nathan
I got stuck on this one as well. The issue for me is that I had both InventorySaver and InventoryBridgeSaver components on my player. If you are using the UCC/UIS integration you only need the InventoryBridgeSaver on your player.
Hope this helps
Nathan
Re: Doubling of the items
Great point! I'll add that to the integration docs.