Search found 3 matches
- Sat Apr 23, 2022 12:34 pm
- Forum: General Discussion
- Topic: Why is easy save using static methods and how to clear memory
- Replies: 4
- Views: 1013
Re: Why is easy save using static methods and how to clear memory
Hi Joel, I finally managed to fix all the issues, I have a few of my own but Easy save is definitely being greedy with memory, adding this to 'ES3ReferenceMgrBase' and then destroying the gameobject solved a lot of memory issues between scenes as those static variables are accumulating memory and no...
- Sun Apr 17, 2022 10:13 pm
- Forum: General Discussion
- Topic: Why is easy save using static methods and how to clear memory
- Replies: 4
- Views: 1013
Re: Why is easy save using static methods and how to clear memory
Hey Joel, thanks for answering, I was surprise myself and upset about it, as my code did use quite a lot of statics managers and services but Unity does not give any kind of warning, I saw in many places that statics are to blame for my memory issues as those sprites and textures stay in memory with...
- Sun Apr 17, 2022 12:25 pm
- Forum: General Discussion
- Topic: Why is easy save using static methods and how to clear memory
- Replies: 4
- Views: 1013
Why is easy save using static methods and how to clear memory
Recently we started working on the console ports, we found out that in PC everything works perfectly but consoles were breaking, eventually everything seems to indicate that the issue are our static method, Unity seems to load anything associated with static methods in memory and never let it go (I ...