Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MarkD on February 14, 2016, 08:47:49 PM

Title: Send Message Error
Post by: MarkD on February 14, 2016, 08:47:49 PM
Hey guys,

I'm getting an error when I send a message to a script.  The error is that the method being called requires two components, but I seem to only have one option through Playmaker's action.  Any ideas?

Here's an image of the FSM error and the method I'm calling:

Image:
(http://i1308.photobucket.com/albums/s618/mark_davis18/Saverror_zpsqbejiwyz.png)

Method:

public override void SaveItems(object serializedData, Action<bool> callback)


Title: Re: Send Message Error
Post by: MarkD on February 17, 2016, 02:29:43 AM
Any ideas anyone?
Title: Re: Send Message Error
Post by: Alex Chouls on February 17, 2016, 02:54:13 AM
It looks like this is a custom action for EasySave?
Maybe the method changed and EasySave needs to update the custom action...?
Have you asked EasySave support?

EDIT: Or maybe you just edited the Send Message action title...?
If so, that method signature is not compatible with Send Message. Send Message can only use one parameter. I thought EasySave had custom Playmaker actions?
Title: Re: Send Message Error
Post by: MarkD on February 18, 2016, 01:35:46 AM
Thanks Alex - I was thinking I might ask them, too.  The action I'm using is just "Send Message" which only sends one parameter and this method wants two.

Maybe there's something they can do on their end.  I'll poke them about it!