Search Issue Tracker

Fixed

Unknown (hidden) 2019.4.X, 2021.2.X, 2021.3.X, 2022.1.X, 2022.2.X

Fixed in 2023.1.0a13

Votes

0

Found in

2019.4.26f1

2021.2.0b7

2021.3.3f1

2022.2.0a13

Issue ID

UUM-3746

Regression

No

[Android][Audio] Stereo Pan is reversed when Orientation is set to Landscape Right on some devices

Platform Audio

-

How to reproduce:
1. Open the attached "Mobile-Audio-Test-Suite.zip" project
2. Set target platform to Android
3. Make sure Orientation is set to Landscape Right
4. Build & run on the device
5. Press the "Begin" button
6. Drag Stereo Pan slider to the left side

Expected result: Audio plays from the left side of the phone
Actual result: Audio plays from the right side of the phone

Reproducible: 2019.4.26f1, 2021.2.0b7

Reproducible on:
Google Pixel 4, Android 12, CPU: Snapdragon 855 (SM8150), GPU: Adreno (TM) 640
Google Pixel 3, Android 9, CPU: Snapdragon 845, GPU: Adreno 630
VLNQA00269, Samsung Galaxy S10e (SM-G970F), Android 10, CPU: Exynos 9 9820, GPU: Mali-G76

Not reproducible:
VLNQA00340, Samsung Galaxy Note20 Ultra 5G (SM-N986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Samsung Galaxy S21 Ultra (SM-G998B), Android 11, CPU: Exynos 2100, GPU: Mali-G78
VLNQA00158 iPhone X, A11, 14.0.1

Can't reproduce, because audio plays only from one side:
- VLNQA00103, Samsung Galaxy Note8 (SM-N950F), Android 7.1.1, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
- VLNQA00090, Samsung Galaxy S8 (SM-G950U), Android 7.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
- VLNQA00287, Motorola moto g(7) power (moto g(7) power), Android 9, CPU: Snapdragon 625 MSM8953, GPU: Adreno (TM) 506
- VLNQA00336, Huawei Y6p, CPU: MediaTek MT6762R, GPU: PowerVR Rogue GE8320, Android: 10

  1. 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.

  2. Resolution Note (2022.2.X):

    This is an Android OpenSL bug that only shows up on some devices. We've worked around this bug in Unity 2023.1 by implementing Android AAudio support, which works on Android 8.1 and later (which is currently 85-90% of Android devices). We are not planning to back-port this change because it is new functionality and it is risky. AAudio has its own set of challenges and we are focusing on making it as robust as possible as 2023.1 matures.

    One work-around is to not allow Landscape Right in the player settings.

  3. Resolution Note (2022.1.X):

    This is an Android OpenSL bug that only shows up on some devices. We've worked around this bug in Unity 2023.1 by implementing Android AAudio support, which works on Android 8.1 and later (which is currently 85-90% of Android devices). We are not planning to back-port this change because it is new functionality and it is risky. AAudio has its own set of challenges and we are focusing on making it as robust as possible as 2023.1 matures.

    One work-around is to not allow Landscape Right in the player settings.

  4. Resolution Note (2021.3.X):

    This is an Android OpenSL bug that only shows up on some devices. We've worked around this bug in Unity 2023.1 by implementing Android AAudio support, which works on Android 8.1 and later (which is currently 85-90% of Android devices). We are not planning to back-port this change because it is new functionality and it is risky. AAudio has its own set of challenges and we are focusing on making it as robust as possible as 2023.1 matures.

    One work-around is to not allow Landscape Right in the player settings.

  5. Resolution Note (2021.2.X):

    Canceling this port since 2021.2 is not a supported version anymore. There is also another port opened to track 2021.3 which is the supported version.

  6. Resolution Note (2019.4.X):

    2019.4 LTS has reached end-of-life. This port is cancelled.

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.