Page 1 of 1

Animator Saver seems to continuously increase file size

Posted: Fri Jul 26, 2024 1:36 pm
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?

Re: Animator Saver seems to continuously increase file size

Posted: Fri Jul 26, 2024 10:01 pm
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.

Re: Animator Saver seems to continuously increase file size

Posted: Sat Jul 27, 2024 8:00 am
by EpicMcDude
Thank you so much Tony!

Re: Animator Saver seems to continuously increase file size

Posted: Sat Jul 27, 2024 9:26 am
by Tony Li
Glad to help!