Interrupting a Conversation while using RT Voice has it's first node's audio get cut off early.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
DerickRMG
Posts: 2
Joined: Wed Oct 09, 2024 1:16 pm

Interrupting a Conversation while using RT Voice has it's first node's audio get cut off early.

Post by DerickRMG »

I've found a bug where if I interrupt a playing conversation with a new one (while using RT Voice to narrate what is being said) the first node of the new convo doesn't let the audio fully play before continuing the conversation.

Here is a blank project [link removed] with a recreation of the bug. If you let the 2nd convo interrupt the first convo (after a 5 second delay), you will hear that the narration audio gets cut off.
And then If you click on one of the options (ending the conversation before the interruption), you will see it plays out as expected.
I call DialogueManager.StopConversation() before starting a new convo to interrupt.

I also have tested with Continue()@2 at the beginning of an interrupting conversation, and it fully plays. Which seems to indicate that something is taking almost 2 seconds to finish after the end of the interrupted convo and interfering.

I used the latest plugins on Unity 2022.1.18f1 (what our project is using) to recreate in the blank project. Also tested on 2023.1.14f1 and it still persisted.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Interrupting a Conversation while using RT Voice has it's first node's audio get cut off early.

Post by Tony Li »

Hi,

Thanks for the repro project. I'll take a look and let you know what I find today.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Interrupting a Conversation while using RT Voice has it's first node's audio get cut off early.

Post by Tony Li »

Hi,

This would happen when there are two conversations active, or two sequencers on the Dialogue Manager, such as when it's warming up on start.

This updated integration avoids that issue:

DS_RTVoiceSupport_2024-10-21.unitypackage
DerickRMG
Posts: 2
Joined: Wed Oct 09, 2024 1:16 pm

Re: Interrupting a Conversation while using RT Voice has it's first node's audio get cut off early.

Post by DerickRMG »

I can confirm that it is working as expected now on my end. Thanks!
Post Reply