No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Mon Oct 14, 2024 12:19 pm
by Saper
Hi Tony
I have problem with my conversation (screens below)
DS_NoOnConversationEnd.png (19.06 KiB) Viewed 114 times
DS_NoOnConversationEnd_2.png (48.22 KiB) Viewed 112 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
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Mon Oct 14, 2024 2:36 pm
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?
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Mon Oct 14, 2024 5:43 pm
by Saper
I tested it and results are on videos below
Timline nodes setup:
DS_NoConverSation_5.png (11 KiB) Viewed 106 times
DS_NoConverSation_4.png (10.97 KiB) Viewed 106 times
DS_NoConverSation_3.png (12.47 KiB) Viewed 106 times
No errors in Console, no green nodes
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Mon Oct 14, 2024 6:47 pm
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[
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Tue Oct 15, 2024 3:49 am
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 (65.55 KiB) Viewed 87 times
Conversation with one node without text, Continue() in sequence
DS_Conversation_Test_3.png (27.76 KiB) Viewed 87 times
Conversation with three nodes on second one is text, on every node there is sequence Continue()
DS_Conversation_Test_4.png (65.73 KiB) Viewed 87 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 (43.53 KiB) Viewed 87 times
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Tue Oct 15, 2024 8:36 pm
by Tony Li
Try adding a Continue Conversation clip after each Start Conversation clip.
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Sun Oct 20, 2024 11:36 am
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
Re: No OnConversationEnd() at the end of my conversation and I Can't Stop that Conversation
Posted: Sun Oct 20, 2024 1:39 pm
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.