Page 1 of 1

Playmaker event error OnConversationLineCancelled

Posted: Tue Oct 23, 2018 4:43 pm
by Alatriste
I was trying the Playmaker events and everything seems to work, but when I cancel the subtitle line (pressing the key assigned), I get the following error:
Failed to call function OnConversationLineCancelled of class DialogueSystemEventsToPlayMaker
Calling function OnConversationLineCancelled with no parameters but the function requires 1.
UnityEngine.Component:BroadcastMessage(String, Object, SendMessageOptions)
PixelCrushers.DialogueSystem.ConversationView:OnCancelSubtitle() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:361)
PixelCrushers.DialogueSystem.ConversationView:Update() (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/View/View/ConversationView.cs:89)
The "Dialogue System Events to Playmaker" script is attached to the Dialogue Manager gameObject. I tried to create an event that receives the event "OnConversationLineCancelled" but it's never called.

Any idea?

Thanks!

Re: Playmaker event error OnConversationLineCancelled

Posted: Tue Oct 23, 2018 9:21 pm
by Tony Li
Hi,

I'll look into this and reply back with an answer (probably a package update) tomorrow.

Re: Playmaker event error OnConversationLineCancelled

Posted: Wed Oct 24, 2018 3:15 am
by Alatriste
I decided to take another approach for what I was trying to do (simpler), so no rush on my side. ;)

Re: Playmaker event error OnConversationLineCancelled

Posted: Wed Oct 24, 2018 11:15 am
by Tony Li
Hi,

Would you please try importing the latest version of the PlayMaker Support package? I'm looking at the latest version, and it shouldn't report this error. Maybe you have an old version of DialogueSystemEventsToPlayMaker.

You can download the PlayMaker Support package that's in version 2.0.5 here: PlayMaker_Support_2018-10-12.unitypackage

You don't need version 2.0.5 to use it. But if you want to use 2.0.5 and don't have access to the customer download page, let me know and I'll set up your access.