Search Unity

Question help with a crash

Discussion in 'Editor & General Support' started by guyhazi, Apr 6, 2023.

  1. guyhazi

    guyhazi

    Joined:
    Mar 23, 2015
    Posts:
    56
    hi guys.

    unity version 2021.3.16f1
    build for android release

    there is a crash that happens to alot of users and i cannot reproduce, i suspect its due to low free memory, or low gpu memory size, maybe some one from unity can confirm?

    by using crashlytics logs i was able to confirm that it happens in the first startup scene when the game lunch, the Start and Update functions were called once and than the crash happens.

    top 3 devices affected are:
    Smart (infinix x657) - 512 gpu memory size
    POP 2F (TECHNOO B1f) - 256 gpu memory size
    Y6II (CAM-L21) - 512 gpu memory size

    the reports shows "RAM free" ranging from 16mb - 220mb per crash

    using addr2line output the following call stack of the crash:
    Code (CSharp):
    1.  
    2. CommandBuffer_CUSTOM_EndSample_CustomSampler(ScriptingBackendNativeObjectPtrOpaque*, ScriptingBackendNativeObjectPtrOpaque*)
    3.  
    4. pqInit(TESSalloc*, PriorityQ*)
    5.  
    6. RenderingCommandBuffer::AddCreateGPUFence(GPUFenceInternals*, GPUFenceType, SynchronisationStage)
    7.  
    8. RenderingCommandBuffer::AddSwitchOutOfFastMemory(RenderTextureParam const&, bool)
    9.  
    10. AudioReverbZone_Get_Custom_PropReverbPreset(ScriptingBackendNativeObjectPtrOpaque*)
    11.  
    12. AudioReverbZone_Get_Custom_PropReverbPreset(ScriptingBackendNativeObjectPtrOpaque*)
    13.  
    14. AudioReverbZone_Get_Custom_PropRoom(ScriptingBackendNativeObjectPtrOpaque*)
    15.  
    16. void Sprite::Transfer<RemapPPtrTransfer>(RemapPPtrTransfer&)
    17.  
    18. void (anonymous namespace)::ETC2Block<((anonymous namespace)::AlphaMode)0, (anonymous namespace)::WriteRGBA4444>(unsigned long long, unsigned char*, unsigned int, int, int, int, int, unsigned int)
    19.  
    20.  
     
    dan_ginovker likes this.
  2. guyhazi

    guyhazi

    Joined:
    Mar 23, 2015
    Posts:
    56
  3. dan_ginovker

    dan_ginovker

    Joined:
    Jun 13, 2021
    Posts:
    76
    We've been seeing similar things in a large variety of games for a while, and on a few more devices.

    Unfortunately, they're all old and weird devices that we don't have, so we can't adb it, or find any online emulators to try that on.

    We suspect it has to do with updating from Android target SDK 30 -> 33, but don't know for sure.