Page 1 of 1
End Conversation Requiring Extra Click
Posted: Thu Apr 03, 2025 7:29 am
by DirePixel
I am making a cutscene in my game using Playmaker with the Dialogue System. I have PlayMaker starting a conversation, and when first conversation completes, the character moves around a bit and then second conversation starts. All of that works, however, ending the first conversation requires an extra click. So like, the last dialogue line will be spoken, then you click and the dialogue box disappears as expected, however the character will not move until you click again. It's almost like when the conversation ends it needs an extra click or something.
*EDIT* I would add I am using my own custom interface design. If I switch to the Standard UI that comes with the dialogue system, the dialogue window does not close until the second click.
Re: End Conversation Requiring Extra Click
Posted: Thu Apr 03, 2025 7:47 am
by Tony Li
Hi,
How are you stopping and resuming the player's ability to move their character?
Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then reproduce the issue in the Unity editor's play mode. The Console will log lines such as:
Code: Select all
Dialogue System: Starting conversation 'title'...
...
Dialogue System: Conversation ending.
When you see "Dialogue System: Conversation ending," this is when OnConversationEnd events are
sent to recipients. At this point, whatever handles the event should allow the player to move their character again.
Related info:
-
Character GameObject Assignments
-
Video: Logging & Debugging Tips
Re: End Conversation Requiring Extra Click
Posted: Thu Apr 03, 2025 8:26 am
by DirePixel
So I did what you said and looked into it and when the conversation is supposed to be over, it was saying one of the characters was speaking an empty dialogue line. For whatever reason the conversation seemed bugged because the first talk node was empty on the graph view even though it did have dialogue text in it (which was also being spoken in the UI). So I deleted the nodes for that conversation and started over from <Start> and made sure the last node was the [END] node. That seems to have resolved the issue.
Re: End Conversation Requiring Extra Click
Posted: Thu Apr 03, 2025 9:06 am
by Tony Li
Hi,
Great! Glad you were able to resolve the issue.