Hi, sorry if it is duplicated (I searched this topic but i havent found anything), but I have a really serious problem with "cleaning" Playmaker variables. I'm using the 1.2.1 version (I've just recently updated it, but it seems my problem is not solved or at least I don't know how to fix it)
The situation is this:
1) I start my game in a scene which don't use Playmaker (Main Menu).
2) Then a one with PM its loaded (First level for example). Some of the FSMs has actions for spawning elements (the main character, npcs, etc...All of them are prefabs references if it helps).
3) When I return to the main menu (or change to any other level), the meshes along with its materials and animations are leaked (the profiler tells me so)
extra) If I load another level (say level 2) which uses different npcs, they are leaked too. And when I come back to main menu, I've lost around 30 MB.
I`ve created the level without using playmaker just for testing (I really need this awesome tool!), and the objects are not leaked. I return to the main menu without any memory problems.
I think, this is because some static references of PlayMaker point to "something" that prevents to free the gameobject/mesh/whatever.
Is there any way to do some cleaning to avoid this annoying leaks? I need to find out a way to do it, because after a few levels, I run out of memory (is an iOS game).
Help, please!
Thanks in advance.
PS: Sorry for my bad English (it's not my mother tongue)