Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2018.4

2019.4

2019.4.16f1

2020.3

2021.1

2021.2

Issue ID

1319089

Regression

No

[Android] Memory leak when repeatedly stopping and playing WebCamTexture on specific devices

Android

-

Reproduction steps:
1. Download and open the submitted project "cameratest.zip"
2. Build and run on Android
3. Press the "Auto" button
4. Open cmd on your computer and run adb shell dumpsys meminfo com.DefaultCompany.cameratest
5. Notice the total PSS memory usage and run the command again

Expected result: Memory usage does not increase
Actual result: Memory usage keeps increasing eventually leading to a crash

Reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.3.3f1, 2021.1.1f1, 2021.2.0a11

Reproduced on:
N/A, Oneplus 8T (KB2003), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
VLNQA00318, Oneplus 7Pro (GM1913), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 64
Samsung Galaxy s21 Ultra US Android 11
Pixel 3 Android 9
OnePlus 7 Pro Android 11
Pixel 4 Android 11

Does not reproduce on:
iPad 9.7" 6th gen (14.4)
iPad Air 2 (11.0.3)
iPhone XR (13.4.1)
iPhone 8 Plus (12.0)

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2022.2.0a1

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.