Search Issue Tracker

By Design

Votes

0

Found in

2021.3.40f1

2022.3.36f1

6000.0.10f1

Issue ID

UUM-75378

Regression

Yes

Audio Source does not output audio when using 3rd party plugin for Text-to-Speech

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/RS_test.unity” Scene
3. Enter the Play Mode
4. In Game view, press the “Space Bar” key

Expected result: Text-to-Speach can be heard
Actual result: No audio is present

Reproducible with: 2021.3.40f1, 2022.3.27f1, 2022.3.36f1, 6000.0.10f1
Not reproducible with: 2022.3.26f1

Reproducible on:
Play Mode
Windows Standalone Player

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Note:
- Project uses 3rd party plugin for TTS

  1. Resolution Note:

    TTS::PlayAudioBuffer seems to immediately destroy the AudioClip after assigning it to the AudioSource, this did not used to delete the AudioClip and was fixed as a bug in https://issuetracker.unity3d.com/issues/crash-on-purecall-when-repeatedly-creating-playing-stopping-and-deleting-audio . We suggest removing this destroy call and handle the destruction of the clip elsewhere

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.