Search Issue Tracker
In Progress
Fixed in 2022.3.29f1, 7000.0.0a1
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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