Search Issue Tracker

By Design

Votes

1

Found in

2020.3.44f1

2021.3.17f1

2022.2.3f1

2023.1.0b1

Issue ID

UUM-26365

Regression

No

[Android] Memory leaks ~100mb with each HTTP request until Player crashes on IL2CPP ARMv7 builds

-

How to reproduce:
1. Open the user-attached “il2cpp_armv7.zip”
2. Edit → Project Settings → Player and change the Scripting Backend to IL2CPP
3. Under Target Architectures check only ARMv7
4. File → Build Settings and click Build
5. Connect the device to the internet
6. Launch the app on the device and press “Run Test” around 25 times until a crash occurs, wait for ~10sec after each press

Expected result: Total Reserved Memory is freed after each test and does not reach 2GB.
Actual result: Total Reserved Memory is not freed after each test and crashes after reaching ~2.2GB.

Reproducible with: 2020.3.44f1, 2021.3.17.f1, 2022.2.3f1, 2023.1.0b1

Reproducible on: macOS 13.2 (Intel)

Reproducible on devices:
VLNQA00277, Asus ROG Phone (ASUS_Z01QD), Android 9, CPU: NOT FOUND, GPU: Adreno (TM) 630
VLNQA00331, Huawei P20 lite (ANE-LX1), Android 9, CPU: HiSilicon Kirin 659, GPU: Mali-T830
VLNQA00334, Xiaomi Mi A3 (Mi A3), Android 11, CPU: Snapdragon 665 SM6125, GPU: Adreno (TM) 610
VLNQA00134, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71

  1. Resolution Note:

    This issue is a result of Unity's current use of a conservative garbage collector.

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.