Search Unity

Adding BuildOptions.AllowDebugging crashes Android Build with a IL2CPP error

Discussion in 'Editor & General Support' started by Lucas_TDF, Jun 15, 2022.

  1. Lucas_TDF

    Lucas_TDF

    Joined:
    Apr 4, 2022
    Posts:
    9
    Hi,

    when adding BuildOptions.AllowDebugging to our build script, the Android build crashes with the following error:

    Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
    Library/Bee/artifacts/Android/87lik/0e5d_data0.lump.o: In function `il2cpp::metadata::CustomAttributeCreator::VisitCtor(MethodInfo const*, il2cpp::metadata::CustomAttributeArgument*, unsigned int)':

    I've attached the full stacktrace. Any ideas?
    Thanks a lot!
     

    Attached Files: