Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X
Votes
0
Found in
2017.4.3f1
Issue ID
1044728
Regression
No
[Android] A global reference table overflow is encountering when passing arguments to Java
To reproduce:
1. Download attached project "AndroidJavaTest.zip" and open in Unity
2. Open SCENE_NAME scene
3. Change platform to "Android"
4. Run logcat
5. Build and run the project on an Android device
6. When screen reads Approximately "Sent: 6000", you should observe "global reference table overflow"
7. After that .apk becomes unresponsive and sometimes crashes
Notes:
- Logcats are shared in the comments section
- This issue is reproducible only on Android devices
- This issue is not reproducible in iOS devices
- This issue is not reproducible in Windows and OSX Standalones
- This issue is not reproduced in Editor
- On Unity 2018.1, 2018.2 and 2018.3 I can not reproduce this issue because .apk does not load for some reason
Devices:
- Samsung Galaxy S9, OS: 8.0.0, CPU: arm64-v8a, GPU: Mali-G72 - Reproduced
- Google Pixel 2, OS: 8.1.0, CPU: arm64-v8a, GPU: Adreno (TM) 540 - Reproduced
- iPhone 7, iOS: 11.2.6, CPU: A10 - Not Reproduced
Reproduced on Unity 2017.1.4p2, 2017.2.3p1, 2017.3.2f1 and 2017.4.5f1
For some reason on Unity 2018.* I can not reproduce this issue because .apk does not load for some reason
Comments (1)
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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
pisontech
Feb 07, 2020 18:46
We are seeing this issue on the latest version of Unity when sending byte arrays from the Java side to our Unity app