bodkin1289
New member
Hello,
I've recently patched our game and are now getting reports of scrambled player inventories.
This manifests by installing the patch then loading a save file, the inventory system then reports the items incorrectly (name, icon, description) however, the quantity is correct.
I have tested a save file with the patch on a target system and can see the bug occur, rolling back the patch restores the inventory correctly without loss. Using the same save file in the Editor on the full patch build displays the correct inventory items and quantities. The scrambling also appears to happen with mutable or immutable and unique items.
Build Details
--------------
Unity 2020.3.26f1
Dialogue System Save System 2.2.28
UIS 1.2.10
---------------
I'm confused as to why a patch would be reporting incorrect items, is it possible that an item's UID could have been altered at runtime? The items in shops etc are all listed correctly so this appears limited to an issue during load. Other items being loaded external to the UIS, during the same load cycle are being restored correctly, so this indicates something is amiss/different with the UIS restoration/update.
I've exported two version of the inventory database, before and after patch, but there are no differences between the values etc.
Any pointers as to what may be causing or areas I could look deeper into would be gratefully received.
Thanks in advance for any help
I've recently patched our game and are now getting reports of scrambled player inventories.
This manifests by installing the patch then loading a save file, the inventory system then reports the items incorrectly (name, icon, description) however, the quantity is correct.
I have tested a save file with the patch on a target system and can see the bug occur, rolling back the patch restores the inventory correctly without loss. Using the same save file in the Editor on the full patch build displays the correct inventory items and quantities. The scrambling also appears to happen with mutable or immutable and unique items.
Build Details
--------------
Unity 2020.3.26f1
Dialogue System Save System 2.2.28
UIS 1.2.10
---------------
I'm confused as to why a patch would be reporting incorrect items, is it possible that an item's UID could have been altered at runtime? The items in shops etc are all listed correctly so this appears limited to an issue during load. Other items being loaded external to the UIS, during the same load cycle are being restored correctly, so this indicates something is amiss/different with the UIS restoration/update.
I've exported two version of the inventory database, before and after patch, but there are no differences between the values etc.
Any pointers as to what may be causing or areas I could look deeper into would be gratefully received.
Thanks in advance for any help