Search Unity

Bug Some random crash on android device`s.

Discussion in 'Android' started by general_unity614, Mar 5, 2023.

  1. general_unity614

    general_unity614

    Joined:
    May 14, 2021
    Posts:
    3
    Hi everyone,

    I'm experiencing a crash issue with my Unity project and I'm hoping someone can help me out. Whenever I try to run my game, it crashes after some sort of time with this stacktrace.
    In Editor everything is ok.

    Code (CSharp):
    1. #00 pc 000000000063c524  /lib/arm64/libunity.so (MeshRenderingData::PrepareDraw(GfxDevice&, VertexInputMasks, VertexDeclaration*&, MeshBuffers&, DrawBuffersRange&, int) const+156) (BuildId: 7fc78646baa53577)
    2. #01 pc 000000000063c3ac  /lib/arm64/libunity.so (DrawUtil::DrawMeshRawFromNodeQueue(RenderNodeQueue const&, unsigned int, VertexInputMasks, int)+116) (BuildId: 7fc78646baa53577)
    3. #02 pc 0000000000d0a330  /lib/arm64/libunity.so (BatchRenderer::EndLoopFlush()+52) (BuildId: 7fc78646baa53577)
    4. #03 pc 00000000006ae534  /lib/arm64/libunity.so (ScriptableRenderLoopDraw(ScriptableLoopObjectData const*, unsigned long, SharedRendererScene const&, DrawRenderersCommand const&, ShaderPassContext&, GfxDevice&, int)+3216) (BuildId: 7fc78646baa53577)
    5. #04 pc 00000000006aeb5c  /lib/arm64/libunity.so (ScriptableRenderLoopDrawDispatch(ScriptableLoopObjectData const*, unsigned long, SharedRendererScene const&, DrawRenderersCommand const&, ShaderPassContext&, GfxDevice&, int, BatchRendererGroupMetadataCacheContext const*)+212) (BuildId: 7fc78646baa53577)

    Full stacktrace i will attach to post
    I'm using Unity version 2022.2.7f1. Same problem was on unity 2021.1.24f1


    I'd really appreciate it if anyone could offer any insight into what might be causing the issue or suggest any possible solutions. Thank you!
     

    Attached Files:

  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,905
    If you haven't tried it yet, try using Development player instead, it might have more information in logcat.

    Other than that it's hard to say what's wrong, can you submit a bug report with repro project attached? Thank you
     
  3. pavel_v_unity

    pavel_v_unity

    Joined:
    Sep 21, 2022
    Posts:
    1
    same problem, Unity2022_2_10, but not srp render - built-in