Page 1 of 1

Conversation is still active after complete Timeline

Posted: Mon Jan 15, 2024 3:36 am
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 34287 times
Screenshot 2024-01-15 153325.png
Screenshot 2024-01-15 153325.png (263 KiB) Viewed 34287 times

Re: Conversation is still active after complete Timeline

Posted: Mon Jan 15, 2024 8:39 am
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.

Re: Conversation is still active after complete Timeline

Posted: Mon Jan 15, 2024 8:35 pm
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 33492 times
Thanks !

Re: Conversation is still active after complete Timeline

Posted: Mon Jan 15, 2024 8:56 pm
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.

Re: Conversation is still active after complete Timeline

Posted: Mon Jan 15, 2024 9:52 pm
by nuttaphoom
you are right !
The problem is that my conversation ended in the empty node.

thanks for the help Tony !

Re: Conversation is still active after complete Timeline

Posted: Tue Jan 16, 2024 9:56 am
by Tony Li
Glad to help!

A problem about timeline

Posted: Sat Jan 27, 2024 11:20 am
by DumplingQ
Hi, I have a question. When I insert Conversation Track into the timeline, why does it only show the first conversation?

Re: Conversation is still active after complete Timeline

Posted: Sat Jan 27, 2024 7:15 pm
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.

Re: Conversation is still active after complete Timeline

Posted: Sat Jan 27, 2024 8:13 pm
by DumplingQ
Thanks!!

Re: Conversation is still active after complete Timeline

Posted: Sat Jan 27, 2024 9:08 pm
by Tony Li
Glad to help!