Page 1 of 1

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

Posted: Mon Oct 21, 2024 10:31 am
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.

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

Posted: Mon Oct 21, 2024 11:02 am
by Tony Li
Hi,

Thanks for the repro project. I'll take a look and let you know what I find today.

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

Posted: Mon Oct 21, 2024 7:32 pm
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

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

Posted: Tue Oct 22, 2024 9:40 am
by DerickRMG
I can confirm that it is working as expected now on my end. Thanks!

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

Posted: Tue Oct 22, 2024 10:29 am
by Tony Li
Glad to help!