Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Unity 2019 Android build crashes on devices using Adreno 506 GPU

Discussion in 'Android' started by wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg, Jul 18, 2019.

  1. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3
    After we upgraded our game from Unity 2018.2.21 to Unity 2019.1.*, we found a lot of crashes on Firebase Crashlytics.

    upload_2019-7-18_14-3-52.png

    upload_2019-7-18_14-4-7.png


    Caused by java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 83f5ff90
    Build fingerprint: 'motorola/potter_amx_n/potter_n:8.1.0/OPSS28.85-13-5/2f72:user/release-keys'
    Revision: 'p3b0'
    pid: 2589, tid: 2681, name: UnityMain >>> com.casualjoygames.cooking.kitchen <<<
    r0 48e1b285 r1 48e09801 r2 40e24083 r3 00000000
    r4 00000002 r5 83f5ff90 r6 84060000 r7 00020040
    r8 00000000 r9 84069000 sl 00000000 fp 0001ffff
    ip 10020002 sp 9597f2b0 lr 63720600 pc a189f56c cpsr b07c2d10

    at libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4263(HwPatchForDirectRendering:4263)
    at libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) + 6206(ProcessAndSubmitRendering:6206)
    at libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312(Flush:312)
    at libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) + 530(GetMemory:530)
    at libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) + 830(Init:830)
    at libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) + 1010(AllocGfxMemForRange:1010)
    at libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) + 658(PreparePackedGpuAccess:658)
    at libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) + 100(PreRenderProcessing:100)
    at libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) + 2240(ValidateProgramTexUnitBoundObjs:2240)
    at libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() + 44(ValidateTexUnitBoundObjs:44)
    at libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) + 1442(ValidateGfxState:1442)
    at libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) + 652(DrawElementsInstanced:652)
    at libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*) + 180(GlDrawElements:180)
    at libGLESv2_adreno.glDrawElements + 40(glDrawElements:40)
    at libunity.0075daf0()
    at libunity.0075dca4()
    at libunity.00246228()
    at libunity.00762c38()
    at libunity.0020683c()
    at libunity.005b5c34()
    at libunity.00246b9c()
    at libunity.0024b19c()
    at libunity.00206688()
    at libunity.00249c60()
    at libunity.0024b600()
    at libunity.0024c7a8()
    at libunity.002616b0()
    at libunity.0029e58c()
    at libunity.0029fa48()
    at libunity.002a8c40()
    at libunity.003f2fb8()
    at libunity.003fb52c()


    We found that all devices reporting this issue is made with adreno 506 and Android 8.

    Anyone knows how to prevent this kind of crash?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    1,402
    Yes, please submit a bug report.
     
  3. jsmits062

    jsmits062

    Joined:
    Jul 16, 2014
    Posts:
    5
    We have the exact same issue running 2018.4.2f1:

    libESXGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4155 (HwPatchForDirectRendering:4155)

    libESXGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason) + 6140 (ProcessAndSubmitRendering:6140)

    libESXGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312 (Flush:312)

    libESXGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*) + 530 (GetMemory:530)

    libESXGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*) + 830 (Init:830)

    libESXGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*) + 1012 (AllocGfxMemForRange:1012)

    libESXGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*) + 662 (PreparePackedGpuAccess:662)

    libESXGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*) + 100 (PreRenderProcessing:100)

    libESXGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int) + 2240 (ValidateProgramTexUnitBoundObjs:2240)

    libESXGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs() + 44 (ValidateTexUnitBoundObjs:44)

    libESXGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*) + 1422 (ValidateGfxState:1422)

    libESXGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int) + 648 (DrawElementsInstanced:648)

    libESXGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*) + 180 (GlDrawElements:180)

    libESXGLESv2_adreno.glDrawElements + 40 (glDrawElements:40)

    libunity.006e85e4 0

    libunity.006e8798 0

    libunity.0020317c 0

    libunity.006ed394 0

    libunity.0079b8e0 0

    libunity.0079c1f8 0

    libunity.007943f0 0

    libunity.0036ea9c 0

    libc.__pthread_start(void*) + 22 (__pthread_start:22)

    libc.__start_thread + 32 (__start_thread:32)
     
  4. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3

    I have submitted a bug report. https://fogbugz.unity3d.com/default.asp?1170442_97fgis6elcqo1arm

    I cannot reproduce this crash often, but got thousands of crashes report from Crashlytics.
     
  5. wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg

    Joined:
    Nov 1, 2018
    Posts:
    3
    the bug report id is 1170442
     
  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    1,402
    Thank you!
     
  7. gbyh

    gbyh

    Joined:
    Apr 19, 2014
    Posts:
    5
    @wechat_os_Qy0_ucgtZZGwzEg8o45wVEmEg
    Can I have your test demo that you had submitted to the bug report?
    We have been experiencing the same crashes a long time but it's very hard to reproduce from our project.
     
  8. tomekswk

    tomekswk

    Joined:
    Jun 11, 2015
    Posts:
    19
    We're experiencing the same crashes on loading screens between scenes. We're using Unity 2018.4.4, Asset Bundles and OGLES2.

    upload_2019-9-3_12-17-34.png
    Code (CSharp):
    1. Caused by java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5aa7d610
    2. Build fingerprint: 'motorola/cedric_amzin/cedric:8.1.0/OPP28.85-19-4-2/3447de:user/release-keys'
    3. Revision: 'p500'
    4. pid: 21612, tid: 21727, name: UnityGfxDeviceW  >>> com.artifexmundi.village.gp.f2p <<<
    5.     r0 48e1b285  r1 48e09801  r2 40e24083  r3 00000000
    6.     r4 00000002  r5 5aa7d610  r6 86ee0000  r7 00020040
    7.     r8 00000000  r9 86ee9000  sl 00000000  fp 0001ffff
    8.     ip 10020002  sp 8b8fef88  lr 4d95a000  pc a39ac56c  cpsr b06bcd10
    9.  
    10.        at libESXGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int) + 4263(HwPatchForDirectRendering:4263)
    11.        at libESXGLESv2_adreno.EsxContext::ProcessAndSubmitRendering(EsxFlushReason) + 6206(ProcessAndSubmitRendering:6206)
    12.        at libESXGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason) + 312(Flush:312)
    13.        at libESXGLESv2_adreno.EsxContext::SwapBuffers(EsxRect const*, unsigned int) + 138(SwapBuffers:138)
    14.        at libESXGLESv2_adreno.EglContext::SwapBuffers(EsxRect const*, unsigned int) + 656(SwapBuffers:656)
    15.        at libESXGLESv2_adreno.EglWindowSurface::PerformContextSwapOperation(EglContext*, EsxRect const*, unsigned int, EglResourceAccessInfo*) + 64(PerformContextSwapOperation:64)
    16.        at libESXGLESv2_adreno.EglWindowSurface::SwapBuffers(EglContext*, EsxRect const*, unsigned int) + 46(SwapBuffers:46)
    17.        at libESXGLESv2_adreno.EglApi::SwapBuffers(void*, void*) + 86(SwapBuffers:86)
    18.        at libEGL.eglSwapBuffersWithDamageKHR + 232(eglSwapBuffersWithDamageKHR:232)
    19.        at libunity.00474344()
    20.        at libunity.00472cb4()
    21.        at libunity.00a61244()
    22.        at libunity.0046ef68()
    23.        at libunity.0046f5a8()
    24.        at libunity.004677a0()
    25.        at libunity.006021e0()
    26.        at libc.__pthread_start(void*) + 22(__pthread_start:22)
    27.        at libc.__start_thread + 32(__start_thread:32)
     
    v-i-s likes this.
  9. rankornfeld

    rankornfeld

    Joined:
    Sep 29, 2016
    Posts:
    39
    The bug (1170442) has been closed but the issue is still here!
     
    Qbit86 likes this.
  10. MardukCorp

    MardukCorp

    Joined:
    May 21, 2016
    Posts:
    76
    @aleksandrk Any update on this, as the bug report is closed but the issue is still happening?
    We can't reproduce this on our end, so sadly we can't create a repro.
     
  11. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    1,402
    It's highly likely that this is a genuine out-of-memory happening.
    QA asked for a minimal repro project on this bug, and never got any reply, so the bug was closed.
     
  12. vfilho

    vfilho

    Joined:
    Jun 25, 2016
    Posts:
    24
    I'm have seeing the same issues with IL2CPP + Unity 2019
     
    Qbit86, CrazyPanda and v-i-s like this.
  13. vfilho

    vfilho

    Joined:
    Jun 25, 2016
    Posts:
    24
    This problem still happening Unity 2019.2.15f1
     
    CrazyPanda and v-i-s like this.
  14. dm_bond

    dm_bond

    Joined:
    Sep 19, 2011
    Posts:
    38
    case 1204226
     
    CrazyPanda and v-i-s like this.
  15. v-i-s

    v-i-s

    Joined:
    Jul 23, 2013
    Posts:
    3
    +1 the same! Need fix it, very quickly!
     
    CrazyPanda likes this.
  16. BeatMicrosoft

    BeatMicrosoft

    Joined:
    Aug 11, 2015
    Posts:
    4
    i have the same questions ,every day i catch Thousands of this crash logs

    void std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> >::_M_assign_aux<__gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > > >(__gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > >, __gnu_cxx::__normal_iterator<RuntimeInitializeOnLoadManager::ClassInfo*, std::vector<RuntimeInitializeOnLoadManager::ClassInfo, stl_allocator<RuntimeInitializeOnLoadManager::ClassInfo, (MemLabelIdentifier)17, 16> > >, std::forward_iterator_tag)
    GenericSlowGarbageCollector::GenerateInstanceID(int, TransferMetaFlags)
    CameraProjectionCache::CameraProjectionCache(Camera const&, MonoOrStereoscopicEye)
    ClearFramebuffer(Camera::ClearMode, RectT<float>, ColorRGBAf const&, bool, bool)
    Camera::GetProjectionMatrix() const
    RenderLight(RenderLoopContext const&, LightingContext const&, QualitySettingsShadowQuality, ShadowProjection, RenderTexture*&, RenderTexture*, int, int, DeviceStencilState const*, MinMaxAABB const&, DeviceMVPMatricesState const&, Vector4f const&, LightingLayers const&, bool, ShaderPassContext&)
    RenderForwardObjectsIntoDepth(RenderLoopContext const&, RenderTexture*, dynamic_array<RenderObjectData, 0u>*, ObjectHandle<RenderSurface_Tag, RenderSurfaceBase*>, ObjectHandle<RenderSurface_Tag, RenderSurfaceBase*>, int, int, bool)
    BatchRenderer::Add(BatchInstanceData const&)
    void qsort_internal::FindAndMovePivotToLastPosition<RenderObjectData*, int, RenderPrePassObjectSorter>(RenderObjectData*, RenderObjectData*, int, RenderPrePassObjectSorter)
    GfxDevice::GfxDevice(MemLabelId)
    LightmapSTCache::ApplyLightmapST(Vector4f const (&) [2], SharedMeshData const*)
    SpriteUser::UpdateRenderNodeWithCustomPivotBounds(RenderNode&, AABB const&, Vector2f const&, bool, bool)
    void SkinnedMeshRenderer::Transfer<SafeBinaryRead>(SafeBinaryRead&)
    GfxDeviceGLES::MemoryBarrierImmediate(unsigned long long, gl::MemoryBarrierType)
    void qsort_internal::QSort<ForwardRenderPassData*, int, ForwardShaderRenderLoop::RenderObjectSorter<false> >(ForwardRenderPassData*, ForwardRenderPassData*, int, ForwardShaderRenderLoop::RenderObjectSorter<false>)
    ApiGLES::Load(GfxDeviceLevelGL)
    ApiGLES::Load(GfxDeviceLevelGL)
    libGLESv2_adreno.glDrawElements(glDrawElements:42)
    libGLESv2_adreno.EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)(GlDrawElements:192)
    libGLESv2_adreno.EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int)(DrawElementsInstanced:662)
    libGLESv2_adreno.EsxContext::ValidateGfxState(EsxDrawDescriptor const*)(ValidateGfxState:1848)
    libGLESv2_adreno.EsxContext::ValidateTexUnitBoundObjs()(ValidateTexUnitBoundObjs:48)
    libGLESv2_adreno.EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int)(ValidateProgramTexUnitBoundObjs:1916)
    libGLESv2_adreno.EsxTextureObject::preRenderProcessing(EsxContext*)(PreRenderProcessing:102)
    libGLESv2_adreno.EsxResource::preparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*)(PreparePackedGpuAccess:296)
    libGLESv2_adreno.EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*)(AllocGfxMemForRange:980)
    libGLESv2_adreno.EsxGfxMem::Create(EsxGfxMemCreateData*)(Create:48)
    libGLESv2_adreno.EsxGfxMem::Init(EsxGfxMemCreateData*)(Init:832)
    libGLESv2_adreno.EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*)(GetMemory:540)
    libGLESv2_adreno.EsxCmdMgr::Flush(EsxFlushReason)(Flush:686)
    libGLESv2_adreno.EsxContext::processAndSubmitRendering(EsxFlushReason)(ProcessAndSubmitRendering:4588)
    libGLESv2_adreno.A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)(HwPatchForDirectRendering:4329)

    i report a bug ,but i can not reproduce it...... F***!
     
  17. BeatMicrosoft

    BeatMicrosoft

    Joined:
    Aug 11, 2015
    Posts:
    4
    are you using astc texture format???
     
  18. Qbit86

    Qbit86

    Joined:
    Sep 2, 2013
    Posts:
    433
    We have the same issue on Unity 2018.4.10:
    Code (csharp):
    1. 01-27 12:25:32.260: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    2. 01-27 12:25:32.273: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    3. 01-27 12:25:32.285: E/Adreno-GSL(4372): <gsl_memory_alloc_pure:2209>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
    4. 01-27 12:25:32.295: E/CRASH(4372): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5cbc7fc0
    5. 01-27 12:25:32.295: E/CRASH(4372): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    6. 01-27 12:25:32.295: E/CRASH(4372): Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
    7. 01-27 12:25:32.295: E/CRASH(4372): Build fingerprint: 'motorola/sanders_n/sanders_n:8.1.0/OPSS28.65-36-11-4/b6557:user/release-keys'
    8. 01-27 12:25:32.295: E/CRASH(4372): Revision: 'p400'
    9. 01-27 12:25:32.295: E/CRASH(4372): pid: 4372, tid: 4489, name: UnityGfxDeviceW  >>> com.pixel.gun3d <<<
    10. 01-27 12:25:32.295: E/CRASH(4372):     r0 48e1b285  r1 48e09801  r2 40e24083  r3 00000000
    11. 01-27 12:25:32.295: E/CRASH(4372):     r4 00000000  r5 5cbc7fc0  r6 00000000  r7 00000000
    12. 01-27 12:25:32.295: E/CRASH(4372):     r8 00000000  r9 00000000  sl 00000000  fp 0001ffff
    13. 01-27 12:25:32.295: E/CRASH(4372):     ip 00000000  sp 882fedb0  lr 0b9de400  pc a476856c  cpsr a7cd6d10
    14. 01-27 12:25:32.295: E/CRASH(4372): backtrace:
    15. 01-27 12:25:32.910: E/CRASH(4372):     #00  pc 0035256c  /system/vendor/lib/egl/libGLESv2_adreno.so (A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)+4263)
    16. 01-27 12:25:32.910: E/CRASH(4372):     #01  pc 000c3163  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ProcessAndSubmitRendering(EsxFlushReason)+6206)
    17. 01-27 12:25:32.910: E/CRASH(4372):     #02  pc 001b7999  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+312)
    18. 01-27 12:25:32.910: E/CRASH(4372):     #03  pc 001d7d5b  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxMemPoolGeneral::GetMemory(unsigned long long, EsxMemType, unsigned int, EsxMemPoolGeneralAllocation*)+530)
    19. 01-27 12:25:32.910: E/CRASH(4372):     #04  pc 001ce423  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGfxMem::Init(EsxGfxMemCreateData*)+830)
    20. 01-27 12:25:32.910: E/CRASH(4372):     #05  pc 001523eb  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxResource::AllocGfxMemForRange(EsxContext*, EsxSubResourceRange const*)+1010)
    21. 01-27 12:25:32.910: E/CRASH(4372):     #06  pc 00154d27  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxResource::PreparePackedGpuAccess(EsxContext*, EsxSubResourceRange const*)+658)
    22. 01-27 12:25:32.910: E/CRASH(4372):     #07  pc 00160535  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxTextureObject::PreRenderProcessing(EsxContext*)+100)
    23. 01-27 12:25:32.910: E/CRASH(4372):     #08  pc 000d846d  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateProgramTexUnitBoundObjs(EsxProgram*, int)+2240)
    24. 01-27 12:25:32.910: E/CRASH(4372):     #09  pc 000d7b59  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateTexUnitBoundObjs()+44)
    25. 01-27 12:25:32.910: E/CRASH(4372):     #10  pc 000d50a7  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ValidateGfxState(EsxDrawDescriptor const*)+1442)
    26. 01-27 12:25:32.910: E/CRASH(4372):     #11  pc 000ca8d5  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::DrawElementsInstanced(EsxPrimType, unsigned int, EsxPixType, void const*, unsigned int, int)+652)
    27. 01-27 12:25:32.910: E/CRASH(4372):     #12  pc 000f4159  /system/vendor/lib/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+180)
    28. 01-27 12:25:32.910: E/CRASH(4372):     #13  pc 00094401  /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElements+40)
    29. 01-27 12:25:32.910: E/CRASH(4372):     #14  pc 00784c94  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    30. 01-27 12:25:32.910: E/CRASH(4372):     #15  pc 00784e48  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    31. 01-27 12:25:32.911: E/CRASH(4372):     #16  pc 0022a0ec  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    32. 01-27 12:25:32.911: E/CRASH(4372):     #17  pc 00789a44  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    33. 01-27 12:25:32.911: E/CRASH(4372):     #18  pc 0084c988  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    34. 01-27 12:25:32.911: E/CRASH(4372):     #19  pc 0084d2a0  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    35. 01-27 12:25:32.911: E/CRASH(4372):     #20  pc 00845498  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    36. 01-27 12:25:32.911: E/CRASH(4372):     #21  pc 003b0684  /data/app/com.pixel.gun3d-JRAk49gZhCOjfozxhlaahQ==/lib/arm/libunity.so
    37. 01-27 12:25:32.911: E/CRASH(4372):     #22  pc 000475cf  /system/lib/libc.so (__pthread_start(void*)+22)
    38. 01-27 12:25:32.911: E/CRASH(4372):     #23  pc 0001afe9  /system/lib/libc.so (__start_thread+32)
     
    Petr777 likes this.
  19. faveris_dt

    faveris_dt

    Joined:
    Sep 13, 2017
    Posts:
    5
    We use Unity 2018.4.12f1 and we have the exact same issue according to Crashlytics. It was reproduced on these device models so far:
    • Xiaomi Redmi S2
    • LGE LG Q6
    • Xiaomi Redmi 7A
    • motorola Moto Z (2) Play
    • motorola moto g(6)
    All these devices have 2GB - 4GB RAM, I'm pretty sure that our game works stable on other devices with such amount of RAM, so I doubt this issue is related to memory consumption of our game. @aleksandrk could you please help us, should we submit a new bug report? Our QA haven't reproduced this issue unfortunately (we have no such devices in our office) so we can't provide you a minimal reproduction project. Also, looks like there is no certain WTR (in-game logs before crash are pretty random).
     
  20. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    1,402
    @faveris_dt yes, please submit a bug report and specify, on which devices out there in the wild you see this. Perhaps our QA will be able to repro this as well.
     
    faveris_dt likes this.
  21. faveris_dt

    faveris_dt

    Joined:
    Sep 13, 2017
    Posts:
    5
    Qbit86 and aleksandrk like this.
  22. Petr777

    Petr777

    Joined:
    Nov 8, 2017
    Posts:
    12
    >Just letting you know that crash report has been submitted: https://fogbugz.unity3d.com/default.asp?1219324_ubo6viot7coqbdrj
    And closed without a fix...

    Our users have a lot of crashes on adreno devices (Motorola Moto G5 , Moto G7, ....)
    This crashes are hard to reproduce, so we cannot create repro project.
    QA closes all bug reports on this crash without repro projects.
    But looks like this crashes are really a problem! some of other users have them every few minutes
    Unity, please research and fix this!
     
    Last edited: May 13, 2020
    faveris_dt and Qbit86 like this.
  23. haseungbong

    haseungbong

    Joined:
    Aug 9, 2018
    Posts:
    1
    Still happening Unity 2018.4.22f1.
    LG Stylo 4
    Moto G (5S) Plus
    Android 8.1.0
     
  24. FifthPlanetClaude

    FifthPlanetClaude

    Joined:
    Jan 28, 2019
    Posts:
    1
    @haseungbong do you guys use shader graph in combination with baked lightmaps?
    We had some issues with that on adreno gpus.
     
unityunity