Adding sound to dialogues
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Re: Adding sound to dialogues
Hi.
I've dragged the file in, but I can't hear it. Can you advise?
Thanks.
I've dragged the file in, but I can't hear it. Can you advise?
Thanks.
- Attachments
-
- Screenshot 2024-04-17 1518251.png (349.07 KiB) Viewed 718 times
-
- Screenshot 2024-04-17 151232.png (150.39 KiB) Viewed 718 times
Re: Adding sound to dialogues
Hi,
Are there any errors or warnings in the Console window?
Is "Audio/Area 1 Reorientation/Bernard/Bernard_Hello" inside a folder named "Resources" (exactly spelling and capitalization)?
Is your Game view's sound muted?
Are there any errors or warnings in the Console window?
Is "Audio/Area 1 Reorientation/Bernard/Bernard_Hello" inside a folder named "Resources" (exactly spelling and capitalization)?
Is your Game view's sound muted?
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Re: Adding sound to dialogues
Yes. The following:
- Attachments
-
- Screenshot 2024-04-17 155406.png (33.69 KiB) Viewed 708 times
Re: Adding sound to dialogues
Those aren't related to audio, but you can clear them up by inspecting your dialogue UI and quest log window (if you use one) and unticking the "Add EVent System If Needed" checkboxes on them.
Since you're using Adventure Creator, make sure Adventure Creator hasn't muted the audio.
Also, turn on logging so you can see the details of the AudioWait() sequencer commands when they run:
Since you're using Adventure Creator, make sure Adventure Creator hasn't muted the audio.
Also, turn on logging so you can see the details of the AudioWait() sequencer commands when they run:
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Re: Adding sound to dialogues
Last edited by Eldritch_Horror on Wed Apr 17, 2024 5:16 pm, edited 1 time in total.
Re: Adding sound to dialogues
Please turn on logging and review the Console window.
I see a "Cannot play disabled audio source" message at the bottom of the window. That's probably the reason why you don't hear audio.
I see a "Cannot play disabled audio source" message at the bottom of the window. That's probably the reason why you don't hear audio.
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Re: Adding sound to dialogues
From console:
- Attachments
-
- Screenshot 2024-04-17 162352.png (157.33 KiB) Viewed 699 times
-
- Posts: 28
- Joined: Sun May 28, 2023 8:30 pm
Re: Adding sound to dialogues
I have solved the issue. I was referencing the prefab gameObject instead of the gameObject that was actually in the scene! Thank you for your help and support, Tony.
Re: Adding sound to dialogues
Good job! I'm glad you found the issue and were able to fix it.