playMaker

Author Topic: Send Message Error  (Read 1607 times)

MarkD

  • Full Member
  • ***
  • Posts: 113
Send Message Error
« 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:


Method:

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



MarkD

  • Full Member
  • ***
  • Posts: 113
Re: Send Message Error
« Reply #1 on: February 17, 2016, 02:29:43 AM »
Any ideas anyone?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Send Message Error
« Reply #2 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?
« Last Edit: February 17, 2016, 02:57:51 AM by Alex Chouls »

MarkD

  • Full Member
  • ***
  • Posts: 113
Re: Send Message Error
« Reply #3 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!