Conversation is still active after complete Timeline

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nuttaphoom
Posts: 10
Joined: Wed Jan 10, 2024 3:24 am

Conversation is still active after complete Timeline

Post by nuttaphoom »

I am following an example of the advancing Timeline using the Conversation clip (DS_TimelineContinueClipExample very good example btw) However, after the Timeline ends, the conversation remains active. I have confirmed this by attempting to play another Timeline, which triggered a warning.

I know that manually calling DialogueManager.StopConversation(); in the ProcessFrame of the ConversationMixerBehaviour resolves the issue. This indicates that the problem lies in the Timeline not correctly ending the conversation.

My question is, how can I ensure that the conversation properly ends after the Timeline concludes? I am considering creating a new custom clip that I can place at the end of every Timeline to ensure conversation termination. However, this approach seems cumbersome, as I have numerous Timelines, and there may be unexpected behavior if I forget to implement it.

Thank you in advance.
Screenshot 2024-01-15 153513.png
Screenshot 2024-01-15 153513.png (83.19 KiB) Viewed 34281 times
Screenshot 2024-01-15 153325.png
Screenshot 2024-01-15 153325.png (263 KiB) Viewed 34281 times
User avatar
Tony Li
Posts: 20992
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation is still active after complete Timeline

Post by Tony Li »

Hi,

You may just need to add another ContinueConversation clip at the end of the timeline. I think that's all that's missing.
nuttaphoom
Posts: 10
Joined: Wed Jan 10, 2024 3:24 am

Re: Conversation is still active after complete Timeline

Post by nuttaphoom »

Hi Tony ! thnaks for the reply !

I have tried adding it. Unfortunately, It didnt' solve the problem.
Now my Timeline can't be played until finish because of the Continue clip.
Screenshot 2024-01-16 083212.png
Screenshot 2024-01-16 083212.png (331.93 KiB) Viewed 33486 times
Thanks !
User avatar
Tony Li
Posts: 20992
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation is still active after complete Timeline

Post by Tony Li »

Hi,

Does your conversation end in a blank node perhaps? If so, try setting the final node's Sequence to: Continue()

If that doesn't help, is it possible that something is starting a new conversation as soon as the timeline finishes? You can set the Dialogue Manager's Other Settings > Debug Level to Info to monitor the Console window for "Dialogue System: Starting conversation" and "Dialogue System: Conversation ending." messages.
nuttaphoom
Posts: 10
Joined: Wed Jan 10, 2024 3:24 am

Re: Conversation is still active after complete Timeline

Post by nuttaphoom »

you are right !
The problem is that my conversation ended in the empty node.

thanks for the help Tony !
User avatar
Tony Li
Posts: 20992
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation is still active after complete Timeline

Post by Tony Li »

Glad to help!
DumplingQ
Posts: 9
Joined: Fri Apr 07, 2023 12:02 pm

A problem about timeline

Post by DumplingQ »

Hi, I have a question. When I insert Conversation Track into the timeline, why does it only show the first conversation?
User avatar
Tony Li
Posts: 20992
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation is still active after complete Timeline

Post by Tony Li »

Hi,

There's a Start Conversation track, which starts a conversation, and a Continue Conversation track, which simulates a continue button click if you've configured the conversation to wait for continue button clicks. The Start Conversation track just starts a conversation. If the conversation doesn't wait for continue buttons, then each line of the conversation will appear when its sequence is done.
DumplingQ
Posts: 9
Joined: Fri Apr 07, 2023 12:02 pm

Re: Conversation is still active after complete Timeline

Post by DumplingQ »

Thanks!!
User avatar
Tony Li
Posts: 20992
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation is still active after complete Timeline

Post by Tony Li »

Glad to help!
Post Reply