How to reduce save and load times

Discussion and help for Easy Save 3
Post Reply
Vinily
Posts: 2
Joined: Fri Jul 31, 2020 8:59 am

How to reduce save and load times

Post by Vinily »

Hello there,

I am currently building an editor-game where users will be able to build up an object from scratch. Because I want to save and load that creation I was trying to just save the most parental gameobject where everything that is created by the user is being stored in and reload that when the user wants to continue.

My problem is that this "creation" will probably include thousands of different objects with different components, values and so on. I know that theoretically I can store everything by adding as many CustomTypes as I need, but my problem is that saving and loading this takes like forever. I tried saving 1000 children with 3 or 4 components attached and it took me like 10 minutes to save and more than 10 minutes to load. And my pc is top notch, so most of my users will wait even longer.
Is there any way to significantly increase save and load times?

I know that I could also iterate through all those children and write a complex method to save different objects in different files and then load the whole construct piece by piece and glue it back together. But since the creation will be extremely complex the "save and load" everything approach would be a lot more convenient.

Thanks a lot in advance!

User avatar
Joel
Moodkie Staff
Posts: 2827
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to reduce save and load times

Post by Joel »

Hi there,

We have a guide to improving performance here:
https://docs.moodkie.com/easy-save-3/es ... rformance/

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Post Reply