Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
1
Found in
2019.4
2020.3
2021.1
2021.1.16f1
2021.2
2022.1
Issue ID
1366122
Regression
No
[Android] App crashes with local reference table overflow when creating over 512 AndroidJavaClass objects
How to reproduce:
1. Open the attached project '1366122.zip'
2. Build And Run on Android device
3. Inspect logs in logcat
Expected results: The app does not crash or show any errors in the logs
Actual results: The app crashes and logs show the error 'JNI ERROR (app bug): local reference table overflow (max=512)'
Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b15, 2022.1.0a12
Reproducible on:
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
-
iprincebeliveau
Mar 28, 2022 17:41
We are also still getting the crash in 2019.4.37f1
-
Gamabilis
Mar 01, 2022 11:17
I've got the same behavior with another project built with Unity 2019.4.35.f11 on Android 7 devices :
- Samsung Galaxy Tab S2 (SM-T713), Android 7.0, CPU: Snapdragon 652, GPU: Adreno 510
- Samsung Galaxy Tab A (SM-T550), Android 7.1.1, CPU: Snapdragon 410, GPU: Adreno 306
- Motorola Nexus 6, Android 7.1.1, CPU: Snapdragon 805, GPU: Adreno 420Should I submit a new report for it to be looked into or could the same project be checked against Android 7 devices?
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a15
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.6f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.25f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.35f1