Search Unity

Android app crashes at startup after building with Asset Delivery plugin

Discussion in 'Android' started by ffdev78, Jul 29, 2021.

  1. ffdev78

    ffdev78

    Joined:
    Dec 18, 2020
    Posts:
    11
    I've just found out that building my game for Android with Asset Delivery and Asset Bundles makes the live app crash as soon as you launch it after downloading from the Play Store.

    I don't know if I'm not using Asset Delivery properly at this point, here are my settings in the editor:





    I've tried to get a Logcat of this issue from Android Studio:

    Code (Boo):
    1. 2021-07-29 06:32:33.386 10030-10385/? E/AndroidRuntime: FATAL EXCEPTION: UnityMain
    2.     Process: com.xscoder.darkrooms2, PID: 10030
    3.     java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    4.     Version '2020.3.12f1 (b3b2c6512326)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    5.     Build fingerprint: 'samsung/a40eea/a40:11/RP1A.200720.012/A405FNXXU3CUF2:user/release-keys'
    6.     Revision: '4'
    7.     ABI: 'arm64'
    8.     Timestamp: 2021-07-29 06:32:33+0200
    9.     pid: 10030, tid: 10385, name: UnityMain  >>> com.xscoder.darkrooms2 <<<
    10.     uid: 10476
    11.     signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4a
    12.     Cause: null pointer dereference
    13.         x0  0000000000000000  x1  0000000000000000  x2  0000007ce1140bd0  x3  0000007ce1140d00
    14.         x4  0000000000000000  x5  0000007c0000050a  x6  0000000000000169  x7  7f7f7f7f7f7f7f7f
    15.         x8  0000007c86dc9eac  x9  194c83a2d85f2013  x10 0000000000000018  x11 0000000000000018
    16.         x12 000000001c386a3a  x13 000000006c73beac  x14 000000000000006c  x15 00000000c07e3c78
    17.         x16 0000007c7e4f41d8  x17 0000007d7820fbc0  x18 00000000e843421b  x19 0000007ce1140d00
    18.         x20 0000000000000000  x21 0000000000000000  x22 0000007ce1140bd0  x23 0000000000000000
    19.         x24 0000000000000000  x25 0000000000000055  x26 0000007c7e56d7e8  x27 0000007c7e56d7e0
    20.         x28 0000007c7e56d650  x29 0000007c86dc9b68
    21.         sp  0000007ce1140b40  lr  0000007c7d8b5a98  pc  0000007c86df854c
    22.  
    23.     backtrace:
    24.           #00 pc 000000000022954c  /data/app/~~M1B1rdAzzS95ZmHBovSUQA==/com.xscoder.darkrooms2-GuhIrWPorrN98U2XSz1ALg==/split_config.arm64_v8a.apk (BuildId: 817a8138ddfebadf34ecbd1b84b137d0123b93b0)
    25.    ...
    26.  

    So I don't know if I'm doing something wrong, I need to use Asset Delivery and Bundles because my App Bundle is much larger than 150MB, but it seems it doesn't work properly

    Anyone else having this issue?
     
  2. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    ffdev78 likes this.
  3. ffdev78

    ffdev78

    Joined:
    Dec 18, 2020
    Posts:
    11
  4. sfla38

    sfla38

    Joined:
    Aug 15, 2020
    Posts:
    2
    hi
    I have same issue just like yours,so did you download any plugin for asset delivery? how to solve this issue pls help almost 1 week I work on this issue
     
  5. ismail_koroglu

    ismail_koroglu

    Joined:
    May 24, 2013
    Posts:
    6
    Downgrade to 1.7.0
     
    Last edited: Aug 22, 2022