Animator Saver seems to continuously increase file size

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
EpicMcDude
Posts: 24
Joined: Fri Sep 22, 2023 5:05 pm

Animator Saver seems to continuously increase file size

Post by EpicMcDude »

Hello!

I noticed something with the Animator Saver component which I don't know if it's intended or a side effect of serializing the Animator - when saving with Save Game To Slot, the save file size keeps increasing with what seems to be duplicate information from this Animator Saver component.

I tested this by making a copy of the save file by saving once and moving that file to another folder, then I kept saving continuously in my game while having the save file visible on my 2nd screen and saw the file size increase each time I saved.
i compared the 2 save files and saw a bunch of animator bools and triggers on the bloated save file being repeated over and over again.

So I turned off the Animator Saver component and the file size stopped increasing. Is there something I can do without sacrificing the Animator saver component?
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Animator Saver seems to continuously increase file size

Post by Tony Li »

Hi,

Thanks for letting me know about the bug. Here's the fix:

PixelCrushers_AnimatorSaverPatch_2024-07-26.unitypackage

This will be in DS version 2.2.48, too.
EpicMcDude
Posts: 24
Joined: Fri Sep 22, 2023 5:05 pm

Re: Animator Saver seems to continuously increase file size

Post by EpicMcDude »

Thank you so much Tony!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Animator Saver seems to continuously increase file size

Post by Tony Li »

Glad to help!
Post Reply