Hello,
I'm trying to use licalised speech audio files by addressables. The setup was going well, but in the exported sheet I cant get the audio file reference (it says "Missing main audio" for each speech line text).
Im using Unity 2020.3.11, Addressables 1.16.19, Adventure Creator 1.73.8
I have already set the addressable name to the player with the correct id.
Do you have any tips on localizable audio files for speech lines? I've been using the manual provided with the AC package.
https://imgur.com/ZaRCsMp
https://imgur.com/HWv0vzW
https://imgur.com/vCLewHi
thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Explot.
Currently, the export wizard's "Audio File Presence" column type does not work for Addressables, as in the past it has not been possible to detect if a given Addressable key exists without loading it. I shall look to see if this has since been made possible, and will update the wizard if so.
Is your issue only about the exporting of script sheets, or with the playback of audio in-game?
Thanks for replying,
I cannot make the audio play during the gameplay. I'm wondering if it has to be in a specific directory or if i named it incorrectly.
e.g: in the Game Text says a line has the filename "Player153", so i named an audio file "Player153" and checked as an addressable.
I already included "AddressableIsPresent" in the project settings. Am I missing a step here?
Also, how can it differentiate between the files of different languages?
The location is unimportant - only the name.
You should be getting a red error in the Console if the addressable is requested but not found - is this the case?
It looks like you're using a custom filename for your addressable key - given that the "Filename" field is editable. Try clearing the "Player153" text to make it read-only again.
Your Speech Manager screenshot doesn't include the "Speech audio" panel - can you share those settings as well?
The ability to use different addressables for different languages will be included as part of the upcoming v1.74.0 update, where keys will take the form:
Player153
Player153_French
Player153_German
(etc)
Turned out my problem my problem was with the reference of the "Speech Audiosource" on my character. It came up when I looked for the error on the console.
(The console is currently hard to read because the animations are being worked on separately and the warnings are going crazy telling me they're not being found at every frame)
But the audio is playing fine now during the gameplay.
This is gonna be of great importance for our project, looking forward for the update.
Thank you for the assistance.