Search Unity

Not able to build on Android when i changed scripting backend to IL2CPP

Discussion in 'Android' started by mekartikshah, Aug 6, 2020.

  1. mekartikshah

    mekartikshah

    Joined:
    Jan 10, 2017
    Posts:
    89
    I am getting a very strange error while building for android, i have face this error after converting Scripting back-end to "IL2CPP"

    Error Snap :

    Screenshot 2020-08-05 at 18.45.39.png
    Editor.Log : https://gist.github.com/kartik-escavel/5b3e9ab8e486627f4878a70fc325e455

    I have separated the exception from Editor.log : https://gist.github.com/kartik-escavel/098fd0d4c29f06a5fdaa8c8045802dd5

    Unity : 2019.1.4f1
    Operation System : Mac OS Sierra

    Here is the different things that i tried,
    1. Tried changing Api Compatibility Level to .NET 4.x and .NET Standard 2.0
    2. C++ Compiler Configuration : Build / Release / Master
    3. Target Architecture :
    - I tried checking only ARMv7
    - I tried checking only ARM64
    - tried selecting both ARMv7 and ARM64
    - I tried clicking x86 only
    - I tried clicking all 3 of the architecture
    4. I tried changing Minimum API Level to API Level 25

    If anyone can help me understand the error or able to help me in solving the error then it would be great. Thanks.
     
    Last edited: Aug 6, 2020
  2. mekartikshah

    mekartikshah

    Joined:
    Jan 10, 2017
    Posts:
    89
    @JoshPeterson can you please help? I tried on windows platform also but it's throwing same error.