Search Issue Tracker
Fixed
Fixed in 2022.3.29f1, 6000.0.6f1, 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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
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