Hey Chris:
I’m having trouble with my speech files not playing. I followed the AC tutorial and put them in the AdventureCreator/Resources/Speech folder, selected “by naming convention,” and generated (Gather text) the script sheet for the ID numbers. The player character already has an Audio Source component, too.
https://prnt.sc/TBfj8jwIr7WX
https://prnt.sc/ugj1Y9JCGMSm
https://prnt.sc/RnlCP-XucExE
Anyone idea why they’re not playing?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Don't crop your screenshots - I need to see the wider context of your Inspectors etc.
Is your AudioSource assigned in the Player component's "Speech AudioSource" field?
For the lines for which you've assigned audio, select them in the Speech Manager and check that the path/filename matches what you've created. Also check your Console at runtime for any warnings / related messages that appear if AC detects an issue.
Is your AudioSource assigned in the Player component's "Speech AudioSource" field?
Yes. https://prnt.sc/lTkGzm1p8t7q
For the lines for which you've assigned audio, select them in the Speech Manager and check that the path/filename matches what you've created.
Already done that. Everything appears to be in order.
https://prnt.sc/KRbfANcG8Tbn
https://prnt.sc/6LxAjEJcFVz0
https://prnt.sc/peYQAlVXQdTB
Also check your Console at runtime for any warnings
No warnings or errors.
Don't crop your screenshots
Here's the full screenshot
https://prnt.sc/i11yuWBlQcxQ
https://prnt.sc/DPgyRHCljyd7
Everything appears to be in order, but still no speech audio.
Please note that I don’t have the audio for all dialogues yet. I’m just testing a few lines before I start recording them.
Quick aside: it's best place your files outside of the AdventureCreator directory. Your project can have multiple Resources folders - create a new one and move the audio files there.
You're testing in the game's original (English) language, I take it? And the Speech volume level in the Options menu is non-zero?
For the example line you've shown, does clicking "Locate source" show the original speech Action, and "Ping file" show the audio asset?
Try disabling Subtitles in the Options menu. They'll then show only if audio isn't found. Is that the case for this line?
Thank you for getting back to me, Chris.
Your project can have multiple Resources folders - create a new one and move the audio files there.
Done
You're testing in the game's original (English) language, I take it? And the Speech volume level in the Options menu is non-zero?
Yes
For the example line you've shown, does clicking "Locate source" show the original speech Action, and "Ping file" show the audio asset?
Yes
Try disabling Subtitles in the Options menu. They'll then show only if audio isn't found. Is that the case for this line?
Subtitles were disabled all this time. I enabled them but still no speech audio.
https://prnt.sc/3-eGiPadC_bo
Keep Subtitles disabled. Do they show anyway for the line with audio?
Yes, even with subtitles disabled, the lines will still appear. I think this explains why there’s no speech audio. Any idea how to fix it?
Check Auto-play speech audio files?.
Worked 100%. Thank you, Chris.