Looped audio files in a conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ivana
Posts: 2
Joined: Sat Oct 08, 2022 2:32 pm

Looped audio files in a conversation

Post 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 258 times
These are the DialogueManager settings:
2.png
2.png (53.45 KiB) Viewed 258 times
And these are those assigned to the two actors (Player and NPC):
3.png
3.png (47.76 KiB) Viewed 258 times
I inserted audio files to each sentence of the conversation.:
4.png
4.png (32.43 KiB) Viewed 258 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 258 times
Anyone have any idea what I may have been doing wrong?
Thank you
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Looped audio files in a conversation

Post 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 256 times
ivana
Posts: 2
Joined: Sat Oct 08, 2022 2:32 pm

Re: Looped audio files in a conversation

Post 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.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Looped audio files in a conversation

Post by Tony Li »

No worries! I'm glad you found the issue.
Post Reply