Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2019.4

2019.4.16f1

2020.1

2020.2

2021.1

2021.2

Issue ID

1304662

Regression

No

[WebGL] Sounds in the Build are distorted when the Audio Clip is below 0.5 second in lenght

WebGL

-

How to reproduce:
1. Open the user's attached "ShortSoundsWebGL_2019.4.16f1" project
2. Open the Scene "SampleScene"
3. Enter the Play Mode
4. Press the "Play Sound" button and take note of the sound
5. Open the Build Settings (File->Build Settings...)
6. Make sure the Platform is set to WebGL and the "SampleScene" is in the Scenes In Build list
7. Build And Run
8. In the Build press the "Play Sound" button

Expected results: The sound in the Build is the same as in the Editor
Actual results: The sound in the Build is different than in the Editor

Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.1.17f1, 2020.2.2f1, 2021.1.0b2, 2021.1.0a1

Notes:
- Longer sounds seem to have no issues
- The issue was tested and reproduced on Chrome and Firefox

  1. Resolution Note:

    Audio volume is very low (<5% of audio range), and consists of a faint click/snap, which is unfortunately expected to be modeled away in AAC encoding. Normalizing audio file recovers the signal.

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.