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

Mobile

-

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)

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.