Forum rules - please read before posting.

Addressable Exceptions on speech actions without audio files

Hi,

I set the Reference speech files setting in the Speech Manager to "By addressable" and packed my speech audio files into an addressable package.

Now I always get an "No Location found for Key" exception when a speech action is called for which there is no audio file in the addressable package. The exception occurs for all Dialogue: Play speech actions as soon as they have a Speech Manager ID (after the Gather text process).

I'm not planning on fully dubbing, but only for selected scenes or actions. This means I don't have a speech file for every speech action. So the exception is absolutely correct.
But can this be prevented? Did I overlook a setting?
Or can I ignore it?

Thank you in advance.

Versions:
Unity 6000.0.36
AC 1.83
Addressables package: 2.3.16

Exceptions:

Here are my Speech Manager settings:

An excample of a speech action where the exception occurse:

And the line in the speech manager:

The files really do not exist in the addrassable package or in an other project folder.

Comments

  • Unfortunately, it's not possible (AFAIK) to check if a given key exists before attempting to load it - at least, not one that doesn't involve additional overhead and waiting.

    Does the game continue correctly when this line is run in a build? Though not ideal, it's likely be that it can be safely ignored.

  • Hi Chris, thanks for the reply. I was afraid that this wouldn't be possible with addressables. The game continues correctly in all builds. No problem is apparent.
    However, on Android devices, I sometimes get a warning after quitting the game that the app is unstable and causes too many errors. I'm currently trying to figure out which errors or exceptions are causing this.
    I will keep looking.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.