Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question unknown android crash (Log attached)

Discussion in 'Android' started by bouemama, Sep 30, 2021.

  1. bouemama

    bouemama

    Joined:
    Dec 6, 2016
    Posts:
    18
    hi,
    my android app work fine on all of my android devices but when i submit it for review to amazon app store
    they keep reject my app for "launch failure".

    "We are unable to test your app as it does not function as intended. The app exits/ force closes/ freezes/ displays an error message after being launched"

    quotes of Log file provided by amazon Review Team:

    "NetworkRequest NetworkRequest [ id=32, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
    08-30 23:27:07.726: D/ConnectivityManager.CallbackHandler(16349): CM callback handler got msg 524296
    08-30 23:27:07.726: E/chromium(16349): [ERROR:aw_browser_terminator.cc(125)] Renderer process (18943) crash detected (code -1).
    08-30 23:27:07.731: E/lowmemorykiller(206): Error writing /proc/18943/oom_score_adj; errno=22
    "
    i upload the full LogFile please check the attached file.

    i think the crash related to memory issue (im not sure) so i try "UnloadUnusedAssets()" but No luck

    Code (CSharp):
    1.  
    2. private void OnLowMemory()
    3.     {
    4.         // release all cached textures
    5.         _textures = new List<Texture2D>();
    6.         Resources.UnloadUnusedAssets();
    7.     }
    8.  
    please help i stuck here 30 days ago

    thank you so much
     

    Attached Files:

  2. bouemama

    bouemama

    Joined:
    Dec 6, 2016
    Posts:
    18
    update : i use unity compression method lz4hc but the crash still exist (
     
  3. bouemama

    bouemama

    Joined:
    Dec 6, 2016
    Posts:
    18
    hi, unityTeam please provide some few minutes for this post ,
    thnx
     
  4. bouemama

    bouemama

    Joined:
    Dec 6, 2016
    Posts:
    18
    can anybody read the Log file and mention the crash reason please !
     
  5. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    When attaching logcat, please filter by process id first, since right now you're showing the log from the whole system.

    This will not help if you're indeed encountering Out Of Memory issue, this only affects how your app resources are compressed for loading purposes, but when they're loaded, they'll be uncompressed anyways.

    You first need to identify what's taking so much memory, you could try using https://docs.unity3d.com/Packages/com.unity.memoryprofiler@0.4/manual/index.html.

    If it's textures, for ex., then you would need to either lower their size, or set a different compression method.