Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: fish on May 05, 2019, 11:17:50 AM

Title: Run Fsm Func and GC Alloc
Post by: fish on May 05, 2019, 11:17:50 AM
So this wonderful action https://hutonggames.com/playmakerforum/index.php?topic=18762.0 (https://hutonggames.com/playmakerforum/index.php?topic=18762.0) has a huge GC Alloc (almost double compared to RunFsm)  and is slowing down my, what should be, very simple menu. I only realized this once I switched some of the subfsm to playmakers built in RunFsm. I would really like to use this custom action since it allows you to easily send back variables and events to the host but these GC fps dips are driving me nuts.

Can anyone take a good look at this action and let me know what's causing this GC Alloc and if it's possible, improve the action so it functions as light as the native RunFsm?
Title: Re: Run Fsm Func and GC Alloc
Post by: djaydino on May 05, 2019, 01:23:53 PM
Hi.
The new Run Fsm will have input and out put.

You can already test it on the playmaker Beta version.

to get access to PlayMaker Beta please contact Alex (https://hutonggames.com/playmakerforum/index.php?action=profile;u=3) or Jean (https://hutonggames.com/playmakerforum/index.php?action=profile;u=33)
Title: Re: Run Fsm Func and GC Alloc
Post by: fish on May 05, 2019, 04:09:56 PM
Oh this is great! I will try that out once I get into the beta. Thanks for letting me know!!