Search Issue Tracker
In Progress
Fix In Review for 2022.3.X
Votes
1
Found in
2022.3.25f1
2023.2.19f1
6000.0.0b15
7000.0.0a1
Issue ID
UUM-69774
Regression
Yes
[Android] Memory increases continuously after calling Java code via JNI bridge
Reproduction steps:
1. Open the attached project “ReproProject”
2. Open the scene “Assets/Scenes/SampleScene.unity'
3. Go to "File > "Build Settings and choose the Android platform
4. Ensure Development Build and Autoconnect Profiler is enabled
5. Build And Run
6. Observe the Console Window for messages
Expected result: The memory doesn’t increase continuously
Actual result: The memory increases continuously (e.g. In 5 mins from
”{{GC Reserved Memory: 0.750M GC Used Memory: 0.516M }}
to
{{ GC Reserved Memory: 4.246M GC Used Memory: 2.723M}}" )
Reproducible with: 2022.3.8f1, 2022.3.25f1, 2023.2.19f1, 6000.0.0b15
Not reproducible with: 2021.3.37f1, 2022.3.7f1
Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
Testing environment: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22621) 64bit (user’s)
Not reproducible environment: No other environment tested
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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
porpercris
Apr 14, 2024 16:45
vbcb
amdaniaminsupardi
Apr 12, 2024 23:08
I make game in unity
amdaniaminsupardi
Apr 12, 2024 23:07
I make game in united