Massive performance issue with ES3
Posted: Tue Jan 16, 2024 7:38 am
Hello!
I have this massive performance issue related to ES3. I have tried to optimize button but it didn't do anything. I am mainly saving Dictionary's, Lists and
GameObjects in Unity. Unity's profiler says that it generates 30 MB of GC which causes the game have freeze spikes. I Can provide code if needed but deep profiler just showed that the root of problem is in ES3Writer.Save(), pictures attached. Last Picture is without deep profiler to see the effect without it and it is still massive (might look weird but leads Es3 saving as seen from deep profiler).
I have this massive performance issue related to ES3. I have tried to optimize button but it didn't do anything. I am mainly saving Dictionary's, Lists and
GameObjects in Unity. Unity's profiler says that it generates 30 MB of GC which causes the game have freeze spikes. I Can provide code if needed but deep profiler just showed that the root of problem is in ES3Writer.Save(), pictures attached. Last Picture is without deep profiler to see the effect without it and it is still massive (might look weird but leads Es3 saving as seen from deep profiler).