Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Android Open GL ES Crash

Discussion in 'Editor & General Support' started by Wielok, Jun 8, 2020.

  1. Wielok

    Wielok

    Joined:
    May 25, 2020
    Posts:
    3
    Hi
    We are facing crashes on android. Crash is random and we can't reproduce it but we are aware that it is still in or game from players feedback and unity logs. We tried turning off gpu skinning diffrent engine versions 2019.3.5f and 2019.3.15f and 32/64bit builds but nothing have helped and we are stucked right now.
    Device: Oculus Quest
    Os version: Android OS 7.1.1
    Open GL ES 3.2

    StackTrace:
    0 libc.so 0x0000007fb55080a8 <system symbols missing>
    1 libunity.so 0x0000007f95dd2218 ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)
    2 libunity.so 0x0000007f95db2b24 BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, bool)
    3 libunity.so 0x0000007f95db1d9c BufferGLES::EnsureBuffer(DataBufferGLES*&, unsigned long, DataBufferGLES::BufferUsage)
    4 libunity.so 0x0000007f95dbfef0 GfxDeviceGLES::SetComputeBufferData(GfxBuffer*, void const*, unsigned long, unsigned long)
    5 libunity.so 0x0000007f95f2bc14 GfxDevice::UpdateComputeSkinPoseBuffer(GfxBuffer*, MatrixArrayJobOutput*)
    6 libunity.so 0x0000007f96264ae8 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    7 libunity.so 0x0000007f96266818 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
    8 libunity.so 0x0000007f9625dcd0 GfxDeviceWorker::RunGfxDeviceWorker(void*)
    9 libunity.so 0x0000007f95ccaf9c Thread::RunThreadWrapper(void*)
    10 libc.so 0x0000007fb5563454 <system symbols missing>
    11 libc.so 0x0000007fb550b204 <system symbols missing>
    Greetings
    Wielok
     
  2. PatrickKa

    PatrickKa

    Joined:
    Apr 30, 2014
    Posts:
    253
    Found this through Google. Just happened to me in my application.

    Never ran into this issue before and I recently updated to Unity 2018.4.23f1 (from Unity 2018.4.21f1).

    Device: Oculus Quest, OpenGL ES 3.2
    Unity: Unity 2018.4.23f1

    Code (CSharp):
    1. at[vdso].(:0)
    2. at libc.memset(memset:356)
    3. at libunity._ZN7ApiGLES18ClearBufferSubDataEjN2gl12BufferTargetEll(_ZN7ApiGLES18ClearBufferSubDataEjN2gl12BufferTargetEll:44)
    4. at libunity._ZN17BufferManagerGLES13AcquireBufferEmN14DataBufferGLES11BufferUsageEb(_ZN17BufferManagerGLES13AcquireBufferEmN14DataBufferGLES11BufferUsageEb:564)
    5. at libunity._ZN10BufferGLES12EnsureBufferERP14DataBufferGLESmNS0_11BufferUsageE(_ZN10BufferGLES12EnsureBufferERP14DataBufferGLESmNS0_11BufferUsageE:104)
    6. at libunity._ZN13GfxDeviceGLES20SetComputeBufferDataEP9GfxBufferPKvmm(_ZN13GfxDeviceGLES20SetComputeBufferDataEP9GfxBufferPKvmm:132)
    7. at libunity._ZN9GfxDevice27UpdateComputeSkinPoseBufferEP9GfxBufferP20MatrixArrayJobOutput(_ZN9GfxDevice27UpdateComputeSkinPoseBufferEP9GfxBufferP20MatrixArrayJobOutput:72)
    8. at libunity._ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer(_ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer:25236)
    9. at libunity._ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer(_ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer:40)
    10. at libunity._ZN15GfxDeviceWorker3RunEv(_ZN15GfxDeviceWorker3RunEv:136)
    11. at libunity._ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv(_ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv:4)
    12. at libunity._ZN6Thread16RunThreadWrapperEPv(_ZN6Thread16RunThreadWrapperEPv:668)
    13. at libc._ZL15__pthread_startPv(_ZL15__pthread_startPv:204)
    14.