Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: rogermr on August 05, 2018, 02:15:59 PM

Title: Playmaker FSM performance when streaming on Nintendo Switch
Post by: rogermr on August 05, 2018, 02:15:59 PM
Hey everyone!

We're working on a game without loading screens and we have some issues when srteaming scenes that cotain playmaker FSMs. We are currently profiling on Nintendo Switch with the application installed, and Playmaker is the last one we are not sure what to do, and it's quite on the heavy side..

As you can see on the photo, it takes 23ms and 1.6mb of allocation, which is a lot since on that scene we only have 3 playmaker with each one having 4 states and barely any actions on each state..

Any suggestions on how to improve this?

Thanks!
Title: Re: Playmaker FSM performance when streaming on Nintendo Switch
Post by: djaydino on August 06, 2018, 05:40:19 AM
Hi.
Is this in the editor?

What actions are used?
Title: Re: Playmaker FSM performance when streaming on Nintendo Switch
Post by: rogermr on August 06, 2018, 05:54:49 AM
Hi!
It is not on Editor, we're profiling a build from the console itself.
Actions are mostly Waits but we do havesome of the actions are our own (although they should be pretty lightweight)

Most of the time seems to be on deserialization when reading the objects (and making lots of allocations)...

Thanks!