Search Issue Tracker
Fixed
Fixed in 2023.1.0a13
Votes
3
Found in
2021.3.3f1
2022.1.3f1
2023.1.0a1
Issue ID
UUM-3745
Regression
No
[Android] When DSP Buffer Size is set to 'Best latency' the audio plays significantly slower and is crackling on OnePlus 7 Pro
Reproduction steps:
1. Open the attached user's project "BestLatencyAudioRepro.zip"
2. Switch the Platform to Android
3. Connect a OnePlus 7 Pro Device
4. Build and Run for Android
Expected result: When DSP Buffer Size is set to 'Best latency' the audio does not play significantly slower and is not crackling on OnePlus 7 Pro
Actual result: When DSP Buffer Size is set to 'Best latency' the audio plays significantly slower and is crackling on OnePlus 7 Pro
Reproducible with these devices:
VLNQA00318, Oneplus 7Pro (GM1913), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Not reproducible with these devices:
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00362, Samsung Galaxy Z Fold2 5G (SM-F916U1), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
VLNQA00024, Xiaomi Mi 5 (MI 5), Android 7.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
N/A, Xiaomi - (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4
VLNQA00004, Meizu MX5 (MX5), Android 5.0.1, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200
VLNQA00099, Google Pixel XL (Pixel XL), Android 10, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530
VLNQA00052, Xiaomi MI MAX (MI MAX), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
iPad 9.7" 6th gen (14.4)
iPad Air 2 (11.0.3)
Reproduces on: 2019.4.28f1, 2020.3.11f1, 2021.1.11f1, 2021.2.0a19
Could not test on 2018.4.35f1 due to project breaking when downgrading
Notes:
-Android logcat is attached "oneplus7pro_logcat.txt"
-Only the "Best Latency" option causes the issue
-Issue does not reproduce on Windows Standalone
-
Verne33
Jul 29, 2023 21:41
This also happens on my Windows build. What is the point of having "Best Latency" option if it can't even play back audio properly on a completely blank Windows build playing back a single 2 second
audio clip? -
michaelberg
Jan 20, 2023 23:27
Yarome, the current plan is that we will not back-port the AAudio implementation (which fixes this issue) because we want to go through a full alpha/beta test cycle to iron out new bugs that may arise before it is officially released. So, yeah, you'll have to update to 2023 to get this fix for now. I know this is not ideal. I suppose it's possible that we'll change this plan, but we're trying to be cautious with such a big code change.
-
Yarome
Jan 17, 2023 04:44
Will this resolution be brought to Unity 2021 (and eventually 2022) LTS? Or will we need to upgrade to a 2023 editor version in order to take advantage of this?
-
code-kiwi
Sep 11, 2021 08:51
Also getting reports from users with the OnePlus 7T
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent NullReferenceException while connecting Edges in the Graph
- Output Decals URP link in Learning Templates directs to HDRP Lit Decal Documentation
- Performing Undo Redo for Convert to Property action creates a ghost Node
- Crash on GameObject::IsActiveIgnoreImplicitPrefab when opening a specific project
- Default Input Action Asset creates unsaved changes when clicking on Button actions
Resolution Note (fix version 2023.1.0a13):
Added support for Android's AAudio engine, so on Android 8.1 and later, Unity Audio is now layered over AAudio. This fixes 4 audio bugs, related to built-in stereo speaker output, built-in vs. Bluetooth microphone selection, Microphone.Start and Microphone.Stop CPU spikes, and low-latency audio output.