Search Issue Tracker

Won't Fix

Votes

12

Found in

5.3.5f1

Issue ID

928000

Regression

Yes

Audio gets distorted when DSP buffer size is changed to "Best Latency" in Play Mode

Audio

-

To reproduce:
1. Open attached Unity project "LowLatencyAudioBug.zip"
2. Open "AudioBug" scene
(For better performance, I suggest disabling "Time" "Spawner" and "SpawnRate" GameObjects)
3. Go into Play Mode
4. Edit --> ProjectSettings --> Audio
5. Press Space to start playback
6. When the music is playing, change DSP Buffer Size from "default" to "Best latency"

Note: bug does not always reproduce, give it a couple of tries.

Result: Audio gets distorted and glitchy

Regression first introduced in: 5.3.5p6
Reproduced on: 5.3.5p6, 5.5.4p1, 5.6.2p2, 2017.1.0f3, 2017.2.0b2
Not reproduced on: 5.3.5p5

Comments (18)

  1. megatonmedia

    Aug 27, 2021 22:31

    Audio is still crackling on Android with Unity 2021.1.9f running on a Samsung Galaxy S8. Issue has been around for years

  2. zackblack

    Aug 04, 2021 21:47

    Also requesting that this issue be re-opened. I have a very simple 2D space shooter that is having occasional massive audio lag/static on Windows 10 (standalone, release build) for apparently no reason at all. The game will run perfectly normal and then after about 5-10 minutes of play, all game audio will start to "crawl" at about 1/2 to 3/4 speed with lots of popping and crackling. This will continue for a few minutes and then clear up.

  3. kobyfr

    Feb 01, 2021 11:50

    and it happened again. as other people wrote here, the problem appears randomly.

  4. kobyfr

    Feb 01, 2021 11:40

    reproduced on my Windows 10 PC.
    1. Settings "Best latency", Max Virtual voices 512, Max Real voices 32, Virtual effects ON
    2. Problem reproduced
    3. disabled "virtualize effects", built, ran game - problem gone
    4. re-enabled "virtualize effects", built, ran game - problem STILL gone

    I have no idea why the problem is gone after playing with the "virtualize effects" settings.
    I did play with other settings as well, and I returned them to their original state.
    Those were the "DSP buffer size", and "Max virtual voices", so it might have been those.

    I'm back to my original settings, which had caused the glithcy audio, but those same settings seem to work now.

  5. babablacksheep

    Jun 14, 2020 15:02

    Can confirm that this seems to happen with a rhythm game I'm developing. Best Latency works fine on Android/MacOS/iOS but causes seemingly random glitches and slowdowns on Windows.

  6. Amesh

    Mar 01, 2018 20:21

    Would like this issue re-opened. This is still a problem in 2017.2.1p2 on Windows.

  7. Kitkwato

    Jan 03, 2018 06:51

    Could we have this issue reopened please? Problem not fixed!

  8. briveramelo

    Dec 10, 2017 23:10

    Working in 2017.1 and still encountering this bug.

    From the Unity editor if I hit play, sometimes this will take place instantly as we play our menu music. Other times when I hit play, all will be normal. Interestingly though, this bug does seem to happen consistently after the first time, making me think it's memory related. From the other comments this seems to be the case. It does not seem to get triggered at anytime during gameplay; it only seems to trigger at start, but it is persistent thereafter. This will happen both in editor and in builds.

    It's an embarrassing show stopper for sure. If I could vote right now (but I can't since this is ..."Resolved"), I would put all 10 votes on this one subject.

    Thanks for all your help-- I know the dev team has to prioritize a mountain of issues, and this is only of the ghostlier ones, but it's still haunting projects in 2017.1.

  9. jeffweber

    Nov 13, 2017 13:22

    For the record, I'm seeing this exact issue, as described here and in the forum post listed above. For me it's occuring in Unity 2017.3 b8

    Been fighting this issue for many days.

    -Jeff

  10. Kitkwato

    Oct 18, 2017 02:18

    Same problem here, what's the status of the fix?

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.