Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Bug Data Persistence example bug

Discussion in 'Game Foundation' started by MadanyNO, Jan 12, 2020.

  1. MadanyNO

    MadanyNO

    Joined:
    Apr 18, 2016
    Posts:
    16
    hi it less then a bug i think but i thought to paint it anyway,

    when u load the list with the button after the scene was loaded already with the saved inventories,
    it reverse the order of the list/dictionary of the inventories.

    basiclly, i restart the scene for the Data Persistence example after i saved, and Game Foundation Debug window show me this:

    upload_2020-1-12_21-7-51.png

    and then i press the load button, and i can see the list of inventories in the Game Foundation Debug window getting reverse order, which then puts the main as last inventory and then u cant remove last, cause its main inventory.

    upload_2020-1-12_21-7-9.png

    also if i remove an inventory then load the saved state, the one that wasnt removed get reversed in order and then the one that was removed get to the end.

    upload_2020-1-12_21-8-38.png

    it also shows in that order int the UI of the scene.

    was that meant to be like that? cause i feel it wasnt meant to be like that.

    if it was not a bug and meant to be like that then sorry in advance ^^"
     
  2. mingz-unity

    mingz-unity

    Unity Technologies

    Joined:
    Oct 12, 2017
    Posts:
    59
    @MadanyNO thanks for the report -

    The team has investigated into this and believe it's already fixed in our latest release (0.3.0). Please let us know if you still run into this issue, or have any other questions.
     
    erika_d likes this.
unityunity