Search Unity

Bug il2cpp build exception on andorid platform, if not split Application Binary.Unity 2020.2.3

Discussion in 'Editor & General Support' started by songguangze, Apr 29, 2021.

  1. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    In the case of a large amount of code, use the il2cpp method to package and check Development build and Script Debugging. But when the Split Application Binary is checked, the apk can be output normally. In another case, you can use Export Project and then use Android Studio Build Apk. The apk is output normally. See the below of the error message. The same problem occurs when the Unity version is upgraded to Unity2020.3.5.
    How can i solve it?
     

    Attached Files:

  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,735
    When you build apk in Android Studio, how big is it and how big is libil2cpp.so inside of it?
     
  3. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    Hello
    The Apk size is 563Mb and the libil2cpp.so is 75.1Mb
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,735
    Please, report a bug.
     
  5. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    How can i do it ?
     
  6. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,735
    In Unity editro Help -> Report a bug
     
  7. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    Thanks. I will report it later.