Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: KirbyRawr on February 17, 2014, 08:28:53 PM
-
Hi, i can't get send remote event to work, i put a string for send with it, and it's marked as global, but it's keeping telling me this error:
Sending RPC 'SendRemoteFsmEvent' failed because the number of supplied parameters doesn't match the rpc declaration. Expected 1 but got 2 parameters.
UnityEngine.NetworkView:RPC(String, RPCMode, Object[])
HutongGames.PlayMaker.Actions.SendRemoteEvent:DoRemoteEvent() (at Assets/PlayMaker/Actions/Network/SendRemoteEvent.cs:58)
HutongGames.PlayMaker.Actions.SendRemoteEvent:OnEnter() (at Assets/PlayMaker/Actions/Network/SendRemoteEvent.cs:42)
Hope someone can help me, thanks!
-
Hi,
What version of Unity and PlayMaker are you using?
bye,
Jean
-
Hi,
What version of Unity and PlayMaker are you using?
bye,
Jean
Hi, i use the last Unity and the last Playmaker
-
Hi,
Yep, Indeed, something broke. I have reported this, It will be likely sorted for the next update.
bye,
Jean
-
Hi,
Actually, it turns out it needs implementing to begin with. I guess it went off our radar, sorry about that.
bye,
Jean
-
Will fix this bug?
-
Hi,
Hopefully, but maybe the network system within PlayMaker will get a facelift when Unity will release its new network system.
Currently, I strongly encourage you to use Photon, since you don't need to take care of the server side, since it runs in the cloud.
Bye,
Jean
-
I have been trying to figure this out for the past few days with no luck.
It seems "SendRemoteFsmEvent" is a string variable, but stringData is also a string variable and I don't think you can send 2 of the same variable type in 1 RPC.
"SendRemoteFsmEvent" is what is sent to the networkView for playmaker fsm's?
-
Hi,
no, and also the networking implementation has a bug/missing feature currently, so it's best to avoid it all together and use Photon for example which is extensivly covered.
Bye,
Jean