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

Web request crashes on devices with Android 8

Discussion in 'Unity Ads & User Acquisition' started by a_naumuk, Sep 7, 2020.

  1. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
    Hello. Lately we are getting a lot of crashes exclusively on Android 8 devices. Our app crashes because of OutOfMemeryError exception. The exception is thrown in a thread that is used by UnityAds. Check out stack trace of the crash:
    upload_2020-9-7_13-23-7.png
     
  2. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
    The above screenshot is not that representative, it looks like device is OOM already. But we get a lot of weird crashes when unity tries to allocate big chunks of memory (200mb - 2Gb). Also crashes are not that exclusive anymore.
    upload_2021-3-9_14-54-32.png upload_2021-3-9_14-54-56.png upload_2021-3-9_14-55-4.png upload_2021-3-9_14-55-13.png