Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Crash on Unity Android after updating to Unity 2021.3.26 with Unity Advertising

Discussion in 'Editor & General Support' started by NickZan, May 31, 2023.

  1. NickZan

    NickZan

    Joined:
    Feb 11, 2019
    Posts:
    5
    Hello everyone,

    I'm experiencing a crash in my Unity project on the Android platform and I'm seeking some help to resolve it. Here's the Native StackTrace associated with the crash:


    Thread 0 (crashed)
    0 libunity.so 0x00000000c320548c DataBufferGLES::FlushMappedRange(unsigned int, unsigned int)
    1 libunity.so 0x00000000c32164d8 BufferGLES::EndWrite(unsigned int)
    2 libunity.so 0x00000000c3216430 GfxDeviceGLES::EndBufferWrite(GfxBuffer*, unsigned int)
    3 libunity.so 0x00000000c31d7000 GeometryJobTasks: PutGeometryJobTask(GfxDevice&, GeometryJobTasks::GeometryJobTask*)
    4 libunity.so 0x00000000c31d6ed0 GeometryJobTasks::EndFrame(GfxDevice&)
    5 libunity.so 0x00000000c335795d GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    6 libunity.so 0x00000000c3358f7d GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
    7 libunity.so 0x00000000c33524cb GfxDeviceWorker::RunGfxDeviceWorker(void*)
    8 libunity.so 0x00000000c2eea2b3 Thread::RunThreadWrapper(void*)
    9 libc.so 0x00000000f0103293 <symbols missing for uuid: af31ec96b35fedca378e07659b30896c>
    10 libc.so 0x00000000f00bd803 <symbols missing for uuid: af31ec96b35fedca378e07659b30896c>



    If anyone has encountered a similar crash or has any insights on how to resolve it, I would greatly appreciate your assistance. The crash was identified through Unity Cloud Diagnostics, and it occurs after updating to Unity 2021.3.26 with the addition of Unity Advertising. It's worth noting that I have been unable to reproduce the crash on any Android device.

    I'm unsure about the specific cause of the crash and would be grateful for any guidance or suggestions.

    Thank you in advance for your help!
     
    Last edited: May 31, 2023
  2. FrasloNL

    FrasloNL

    Joined:
    Apr 7, 2017
    Posts:
    5
    I'm seeing the same crashes after updating to 2021.3.25, I updated from Unity 2021.3.23. With only minor changes made in the Unity project I'm pretty sure it's related to the Unity update. Since I cannot reproduce this and have no idea how to fix it I will rollback. The crashes are affecting around 5% of the users which is quite significant.

    Those 2 issues are reporting in the Google Play Console:
    1. libunity.so] DataBufferGLES::FlushMappedRange(unsigned long, unsigned long)
    2. [libunity.so] BufferGLES::EndWrite(unsigned long)
     
    NickZan likes this.
  3. NickZan

    NickZan

    Joined:
    Feb 11, 2019
    Posts:
    5
    I also switched back to Unity 2021.3.23, and the crashes seem gone. Thank you very much for the advice!
     
  4. Rafael-cmk

    Rafael-cmk

    Joined:
    Jun 28, 2016
    Posts:
    56
    I'm experiencing the same problem, however I'm at Unity 2022.3.4f1. Previously I was at Unity 2021.3.23f1 wihtout this crash.
     
  5. GediminasR

    GediminasR

    Unity Technologies

    Joined:
    Aug 19, 2021
    Posts:
    53
    Hello,


    Would you kindly please report this issue via the Bug Reporter tool?
    https://unity.com/releases/editor/qa/bug-reporting

    Please make sure to first reproduce the crash and only then to report the issue as the editor.log files are session based and the most recent information would greatly help our CQA team and developers to troubleshoot it.

    How to reproduce:
    1. Open the attached project
    2. Do this
    3. Do that
    4. Select this
    5. Observe that

    Expected result: Something is visible, something is printed or something happens
    Actual result: The opposite of what I expect happens

    Reproducible with: Editor version I am using (e.g: 2021.3.xf1)

    Reproduced on: The OS I am on (e.g: Windows 11, macOS Ventura 13.1 (Intel/Silicon))
     
    pixelsprite_unity likes this.
  6. IgorGalimskiy

    IgorGalimskiy

    Joined:
    May 30, 2017
    Posts:
    31
    Have the same crash
    Any solutions?
     
  7. El1t3L33t

    El1t3L33t

    Joined:
    Jun 14, 2020
    Posts:
    13
    Experiencing the same on Unity 2020.3.47f1 - Still no solution?
     
  8. davidruizcodigames

    davidruizcodigames

    Joined:
    Apr 21, 2022
    Posts:
    1
    Any update on this? We have Unity 2021.3.26f1 and are seeing this crash. Do we need to downgrade to 2021.3.23f1?
     
  9. sufyanasifcheema

    sufyanasifcheema

    Joined:
    Jun 17, 2020
    Posts:
    2
    I was facing this issue on unity 2021.3.27f1. rollback to 2021.3.16f1 and this crash is solved.