Forum rules - please read before posting.

Speech audio continues playing after loading a saved game

edited June 4 in Technical Q&A

Hi,

I think I found a bug with Adventure Creator speech audio continuing after loading a saved game.

Issue:
If two Dialogue: Play speech actions are played in the background through Interactions that are called by another Interaction, the speech audio can keep playing even after loading a saved game.

This seems to happen specifically when the NPC speech Interaction is run before the Player speech Interaction.

Reproduction steps:

Create a scene with a Player and an NPC.
Create three Interactions:

Interaction 1
Contains two ActionList: Run actions.
These run Interaction 2 and Interaction 3.

Interaction 2
Contains a Dialogue: Play speech action.
Speaker: NPC
Set to Play in background.

Interaction 3
Contains a Dialogue: Play speech action.
Speaker: Player
Player line? checked.
Set to Play in background.

(Set all interactions to run in background)

Gather the text so the dialogue lines use speech audio. (You can use any audio but use a long one so you can catch it when you load)

Start the game and save the game before running Interaction 1.
In Interaction 1, make sure the order is:
First run the NPC speech Interaction.
Then run the Player speech Interaction.

(No wait until finish for any of them)

Run Interaction 1.
As soon as both speech lines start playing, open the pause menu and load the saved game.

Result:
The speech audio continues playing during the load and also after the saved game has finished loading. If the audio clip is long, it keeps playing over the reloaded scene.

Extra note:
I already have this option checked:

Settings Manager → Scene loading → Always reload scene when loading a scene file?

AC Version: 1.86.3
Unity Version: 6000.0.27f1

(I used the SamplePlayer3D template scene to reproduce the issue)

Thanks.

Comments

  • edited June 4

    Excellent, thanks for the detailed reproduction steps - I'll see this gets addressed.

  • Thanks! Did you manage to recreate it?

  • I did - a fix will be included in the next update.

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.