jni error has occurred local reference table overflow (max=512) Android crashes on start.
I get this crash error in my 2d game after 600 levels. There is no problem about first levels, but it collapses on start after 500 - 600 levels.
My SDK's - Appsflyer - Google Analytics - Heyzap and some ads SDK - OneSignal
I am using Unity 5.5.1
Answer by zhibinw · May 03, 2017 at 11:41 AM
Hi, zippro: I met this issue also, using Unity 5.5.2. It only happen when multi-threaded rendering is open.
Seems Unity not able to handle the JNI local reference on multi-threaded rendering.
You can release these JNI local reference by calling DeleteLocalRef .
Your answer
Follow this Question
Related Questions
[HELP] Unity 5.5 Android build crashes at startup 1 Answer
My first game published made with unity 0 Answers
Unity + android 4.0.3 black screen issue 1 Answer
voice recognition 2 Answers
Android game updater (autopatch) 0 Answers