Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: steamrollerstudios on September 11, 2013, 07:42:30 AM
-
From what i can tell, Playmaker is the source for the vast majority of the GC Allocations. I've tracked it down, to the best of my ability, to FsmLog.LogTransition. I have logging turned off but this still seems to show up in the profiler.
A typical frame has about 400-500 calls and is allocating about 80-100kb. I'm not entirely sure if this is a lot. But garbage collecting a megabyte per second seems like a lot.
-
Hi,
Have you also profiled in your published game? This may simply not be there at all when you publish.
Try to run without any PlayMaker editor windows open. I usually have a special Unity layout with just the Game view and the console. Not even the Unity inspector.
also, have you checked off all debugging flags in the preferences to turn off ( "Enable Logging" and "Enable workFlow"
Bye,
Jean
-
It's important to profile with standalone builds. There is extra logging overhead in the editor.
Here's another thread on GC:
http://hutonggames.com/playmakerforum/index.php?topic=4863.msg22859#msg22859