Forum rules - please read before posting.

Issue on save dialogue

AC 1.85.5 + Unity 2022.3.62f2

Hi Chris,
I have an issue on saves.. after adding more slot I have a sorting issue in the save dialogue, the old slots are rearranged on the grid.
The issue seems related to the sorting done at line 149 of SaveSystem.cs, function UpdateSaveList. Removing it everything seems working fine.
I noticed also that in GatherSaveFiles there's not a similar ordering. Is the sorting necessary for other things? Is it safe to remove it? I'm not ordering saves by updated time...

Thank you.

Comments

  • Look for this line:

    foundSaveFiles.Sort (delegate (SaveFile a, SaveFile b) { return a.saveID.CompareTo (b.saveID); });
    

    Comment that out only instead - does that resolve it?

  • Yes, commenting that line seems to resolve the issue. Just want to be sure that there are not side effects.

  • I expect that should be OK.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.