I have android app crashes, I collect thousands of crash resport about this if someone can help me please, Thanks. We’re at Unity 5.4.3p3
the stack is :
1 #00 pc 004c2918 /system/lib/egl/libGLES_mali.so [armeabi-v8]
2 #01 pc 0048517c /system/lib/egl/libGLES_mali.so (glTexSubImage2D+100) [armeabi-v8]
3 #02 pc 004f42f0 libunity.so ApiGLES::TextureSubImage(unsigned int, TextureDimension, gl::TexFormat, int, int, int, int, int, int, int, int, void const*) [armeabi-v7a]
4 #03 pc 004d5a2c libunity.so gles::UploadTexture2DSubData(ApiGLES*, unsigned int, TextureFormat, void const*, int, int, int, int, int, TextureColorSpace) [armeabi-v7a]
5 #04 pc 004d5948 libunity.so GfxDeviceGLES::UploadTextureSubData2D(TextureID, unsigned char const*, int, int, int, int, int, int, TextureFormat, TextureColorSpace) [armeabi-v7a]
6 #05 pc 007861d4 libunity.so TextRenderingPrivate::Font::AddCharacterToTexture(unsigned int, int, float, unsigned int) [armeabi-v7a]
7 #06 pc 007866e4 libunity.so TextRenderingPrivate::Font::CacheFontForText(unsigned short*, int, int, float, unsigned int, dynamic_array<TextRenderingPrivate::TextFormatChange, 4u> const*) [armeabi-v7a]
8 #07 pc 00797c44 libunity.so Font_CUSTOM_RequestCharactersInTexture(ReadOnlyScriptingObjectOfTypeTextRenderingPrivate::Font , ICallString, int, int) [armeabi-v7a]
9 #08 pc de182548
10 java:
11 com.unity3d.player.UnityPlayer.a(Unknown Source)
12 com.unity3d.player.UnityPlayer$b$1.handleMessage(Unknown Source)
13 android.os.Handler.dispatchMessage(Handler.java:107)
14 android.os.Looper.loop(Looper.java:192)
15 com.unity3d.player.UnityPlayer$b.run(Unknown Source)
@superpig @liortal could you help me to avoid this crash ? thanks
Do you know which characters are being requested to cause the crash? That’s the first thing I would try to find out if I were you.
That is a big problem, I am using a multilingual version, there are tens of thousands of words, this is a random crash, it is difficult to find which characters are being requested to cause the crash
I’ll try to find…