Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug 2021.3.4f1 crashes on mobile

Discussion in 'Editor & General Support' started by FelixFilip, Aug 6, 2022.

  1. FelixFilip

    FelixFilip

    Joined:
    Apr 11, 2019
    Posts:
    5
    Hey there
    My recently published Android game crashes a lot and I cannot figure out what is causing it

    There are 250k crashes every week, 80k players affected. Crashes occur after 20k - 70k frames

    Here are the stack traces if you wanna take a peek

    Screenshot_20220806-043235_Play Console.jpg Screenshot_20220806-043231_Play Console.jpg Screenshot_20220806-043227_Play Console.jpg Screenshot_20220806-043222_Play Console.jpg Screenshot_20220806-043110_Chrome.jpg
     
    Last edited: Aug 6, 2022
  2. digipaul

    digipaul

    Joined:
    Nov 24, 2018
    Posts:
    47
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,132
    After that many frames, it may be that you are leaking something. If you are repeatedly new-ing up assets (such as Texture2D or Material or whatever) each frame, your memory use will steadily go up until BOOM.

    Attach the profiler in the editor and see if your memory consumption is going up steadily. If so, focus on that.