Page 1 of 1

Looped audio files in a conversation

Posted: Sat Oct 08, 2022 3:06 pm
by ivana
Sorry for using a translator, but I don't speak English.
I started using Dialogue System only a few days ago, I bought it in a bundle. I am running into a problem that I cannot solve.
I set up a dialogue that has no reply buttons (the dialogue flows like a movie).
1.png
1.png (211.72 KiB) Viewed 278 times
These are the DialogueManager settings:
2.png
2.png (53.45 KiB) Viewed 278 times
And these are those assigned to the two actors (Player and NPC):
3.png
3.png (47.76 KiB) Viewed 278 times
I inserted audio files to each sentence of the conversation.:
4.png
4.png (32.43 KiB) Viewed 278 times
The problem: the phrases assigned to the Conversant are pronounced correctly, while the Actor goes in a loop and continues to repeat the same phrase, even while the Conversant is speaking; he only stops when he has to start his next ftase and repeats that too indefinitely.
5.png
5.png (37.35 KiB) Viewed 278 times
Anyone have any idea what I may have been doing wrong?
Thank you

Re: Looped audio files in a conversation

Posted: Sat Oct 08, 2022 3:24 pm
by Tony Li
Hi,

Inspect the Audio Source components on your characters. Add an Audio Source component if it doesn't already have one. Clear the Play On Awake and Loop checkboxes:

untickLoop.png
untickLoop.png (32.99 KiB) Viewed 276 times

Re: Looped audio files in a conversation

Posted: Sat Oct 08, 2022 3:26 pm
by ivana
I answer myself: my stupid mistake (and I lost hours). I had left the audiosource component (which I use for something else) on the loop. Thanks anyway and sorry for the useless message.

Re: Looped audio files in a conversation

Posted: Sat Oct 08, 2022 3:28 pm
by Tony Li
No worries! I'm glad you found the issue.