Hi,
When running my game in the Editor, I get constant GC.Collect spikes. These spikes are only in the Editor, and seems to come from EditorLoop, GameView.OnGUI.repaint. This is triggering about every 2 seconds or so.
I have the Experimental GC function enabled, and this works great for the game, but it doesnt seem to be enabled for the Editor Scripts?
So, to my Question: How do I figure out what script is causing this GC.Collect? From what I can read in the Hierarchy in the Profiler, I cant see any information on what scripts is calling this repaint.
But that is a massive gc peek that is very enoying when playing the game.
Im hoping someone here could point me in the right direction on how to troubleshoot this problem.
Thanks,
Robin