No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Saper »

Hi Tony

I have problem with my conversation (screens below)
DS_NoOnConversationEnd.png
DS_NoOnConversationEnd.png (19.06 KiB) Viewed 147 times
DS_NoOnConversationEnd_2.png
DS_NoOnConversationEnd_2.png (48.22 KiB) Viewed 145 times
At the end of it Event "OnConversationEnd()" is not propagated and conversation is still on "Active Conversation" list.
I tried to use "StopAllConversations()" method to try and stop that conversation but that didin't stop it

Also i run this conversation from Conversation Track in Timeline
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Tony Li »

Hi,

The conversation should end because the last dialogue entry has a Continue() sequencer command.

Are there any errors or warnings in the Console window?

If you view the conversation in the Dialogue Editor at runtime, is one of the dialogue entry nodes green?
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Saper »

I tested it and results are on videos below
Timline nodes setup:
DS_NoConverSation_5.png
DS_NoConverSation_5.png (11 KiB) Viewed 139 times
DS_NoConverSation_4.png
DS_NoConverSation_4.png (10.97 KiB) Viewed 139 times
DS_NoConverSation_3.png
DS_NoConverSation_3.png (12.47 KiB) Viewed 139 times



No errors in Console, no green nodes
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Tony Li »

Are there any errors or warnings in the Console window?

Please trace through the conversation in the Console window with Debug Level set to Info:

[media][/media[
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Saper »

Hi Tony

I setup Dialogue Manager Debug Level to Info, below logs

Conversation with three nodes without text, only Continue() in sequence
DS_Conversation_Test_2.png
DS_Conversation_Test_2.png (65.55 KiB) Viewed 120 times
Conversation with one node without text, Continue() in sequence
DS_Conversation_Test_3.png
DS_Conversation_Test_3.png (27.76 KiB) Viewed 120 times
Conversation with three nodes on second one is text, on every node there is sequence Continue()
DS_Conversation_Test_4.png
DS_Conversation_Test_4.png (65.73 KiB) Viewed 120 times
When conversation starts from "Start" node looks like conversation end properly, but when i use Jump to Specific Entry those specific conversations stay in Active Conversation

Log when conversation start in start node below
DS_Conversation_Test_5.png
DS_Conversation_Test_5.png (43.53 KiB) Viewed 120 times
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Tony Li »

Try adding a Continue Conversation clip after each Start Conversation clip.
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Saper »

Hi Tony

I added Continue Conversation clip, there's no difference in logs with it and still conversations stay in "Active Conversations" list in watches tab
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation

Post by Tony Li »

Hi,

Can you send a reproduction project to tony (at) pixelcrushers.com?

Alternatively, use a Stop Conversation timeline clip instead of Continue Conversation.
Post Reply