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
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
- [URP] SubmitRenderRequest with NativeRenderPass + Upscaling doesn't work
- “ArgumentOutOfRangeException” error appears when inserting a double character if using “SetValueWithoutNotify” on UI Toolkit’s TextField
- Particle System emission delays between particle generations when playing the simulation
- EditorUtility.DisplayDialog is not shown when Input.GetMouseButtonDown is called a second time
- Animator Enum Properties get set to 0 instead of the value specified in the Scene when the Property is animated by a State that is not playing
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