Search Unity

IL2CPP error

Discussion in 'macOS' started by jkampitakis, Oct 19, 2018.

  1. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    We try to build for IL2CPP using 2018.2.13f1 but we get the following error:



    Failed running /Applications/Unity/Hub/Editor/2018.2.13f1/Unity.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="MacOSX" --architecture="x64" --configuration="Release" --outputpath="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Native/GameAssembly.dylib" --cachedirectory="/Users/john/Documents/llshooter/Assets/../Library/il2cpp_cache" --map-file-parser="/Applications/Unity/Hub/Editor/2018.2.13f1/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Unity.TextMeshPro.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/CatlikeCoding.NumberFlow.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/AppStoreSettings.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/DOTweenPro.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/DOTween.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.Config.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Facebook.Unity.Settings.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.Analytics.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.OdinInspector.Attributes.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.AOTGenerated.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Utilities.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Stores.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/System.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.Purchasing.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/mscorlib.dll" --generatedcppdir="/Users/john/Documents/llshooter/Temp/StagingArea/Data/il2cppOutput"
    stdout:
    IL2CPP error for method 'System.String <>__AnonType0`2::ToString()' in assembly '/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll'
    Additional information: Build a development build for more information. Exception has been thrown by the target of an invocation.
    il2cpp.exe didn't catch exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown.
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, TypeReference typeReference)
    at Unity.IL2CPP.GenericsCollection.Inflater.ConstructGenericType(GenericContext context, TypeDefinition typeDefinition, IEnumerable`1 genericArguments)
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, GenericInstanceType genericInstanceType)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodReference methodReference, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(Instruction instruction, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodBody methodBody, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(TypeDefinition typeDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(ModuleDefinition moduleDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(AssemblyDefinition assemblyDefinition, Context context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Unity.Cecil.Visitor.Visitor.Visit[T](T node, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.CollectPerAssembly(IInteropDataCollector interopDataCollector, AssemblyDefinition assembly)
    at System.Linq.Enumerable.SelectIListIterator`2.MoveNext()
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.MergeCollections(IEnumerable`1 collections)
    at Unity.IL2CPP.AssemblyConverter.Apply()
    at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies(IEnumerable`1 assemblyDirectories, IEnumerable`1 explicitAssemblies, NPath outputDir, NPath dataFolder, NPath symbolsFolder, NPath executableAssembiesFolder, NPath monoLibFolder, NPath monoEtcFolder, NPath[] searchDirectories, String entryAssemblyName, NPath[] extraTypesFiles)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    stderr:
    Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown.
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, TypeReference typeReference)
    at Unity.IL2CPP.GenericsCollection.Inflater.ConstructGenericType(GenericContext context, TypeDefinition typeDefinition, IEnumerable`1 genericArguments)
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, GenericInstanceType genericInstanceType)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodReference methodReference, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(Instruction instruction, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodBody methodBody, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(TypeDefinition typeDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(ModuleDefinition moduleDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(AssemblyDefinition assemblyDefinition, Context context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Unity.Cecil.Visitor.Visitor.Visit[T](T node, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.CollectPerAssembly(IInteropDataCollector interopDataCollector, AssemblyDefinition assembly)
    at System.Linq.Enumerable.SelectIListIterator`2.MoveNext()
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.MergeCollections(IEnumerable`1 collections)
    at Unity.IL2CPP.AssemblyConverter.Apply()
    at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies(IEnumerable`1 assemblyDirectories, IEnumerable`1 explicitAssemblies, NPath outputDir, NPath dataFolder, NPath symbolsFolder, NPath executableAssembiesFolder, NPath monoLibFolder, NPath monoEtcFolder, NPath[] searchDirectories, String entryAssemblyName, NPath[] extraTypesFiles)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    at Program.Main(String[] args)
     
    jcameron47 likes this.
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Can you provide a bug report with a project that causes this issue?
     
  3. Oscar-Tsang

    Oscar-Tsang

    Joined:
    Nov 7, 2012
    Posts:
    84
  4. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    sorry, this whole «build your game for macosx» is just a MESS....
     
  5. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    AMA_MR likes this.
  6. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    We get this when building for Macosx using unity 2018.2.13f1

    The Mono target is working the lL2CPP has problems..



    Undefined symbols for architecture x86_64:
    "_getUnityPurchasingAppReceipt", referenced from:
    _iOSStoreBindings_getUnityPurchasingAppReceipt_m4103466157 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_get_appReceipt_m2498480463 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_getUnityPurchasingAppReceipt_m643976844, _iOSStoreBindings_getUnityPurchasingAppReceipt_m4103466157 )
    "_unityPurchasingInterceptPromotionalPurchases", referenced from:
    _OSXStoreBindings_unityPurchasingInterceptPromotionalPurchases_m3411166610 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _OSXStoreBindings_InterceptPromotionalPurchases_m769580797 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_unityPurchasingInterceptPromotionalPurchases_m421098356 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_InterceptPromotionalPurchases_m2936449487 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingInterceptPromotionalPurchases_m3411166610, _iOSStoreBindings_unityPurchasingInterceptPromotionalPurchases_m421098356 )
    "_unityPurchasingRetrieveProducts", referenced from:
    _iOSStoreBindings_unityPurchasingRetrieveProducts_m1942317051 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_RetrieveProducts_m3230380609 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingRetrieveProducts_m689081799, _iOSStoreBindings_unityPurchasingRetrieveProducts_m1942317051 )
    "_unityPurchasingPurchase", referenced from:
    _iOSStoreBindings_unityPurchasingPurchase_m127163060 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_Purchase_m925077806 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingPurchase_m1987719083, _iOSStoreBindings_unityPurchasingPurchase_m127163060 )
    "_unityPurchasingRestoreTransactions", referenced from:
    _iOSStoreBindings_unityPurchasingRestoreTransactions_m2532953743 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_RestoreTransactions_m2847613056 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _iOSStoreBindings_unityPurchasingRestoreTransactions_m2532953743, _OSXStoreBindings_unityPurchasingRestoreTransactions_m3672818507 )
    "_setUnityPurchasingCallback", referenced from:
    _iOSStoreBindings_setUnityPurchasingCallback_m1482920455 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_SetUnityPurchasingCallback_m756868915 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_setUnityPurchasingCallback_m3551531614, _iOSStoreBindings_setUnityPurchasingCallback_m1482920455 )
    "_unityPurchasingAddTransactionObserver", referenced from:
    _iOSStoreBindings_unityPurchasingAddTransactionObserver_m463851353 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_AddTransactionObserver_m621098447 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _iOSStoreBindings_unityPurchasingAddTransactionObserver_m463851353, _OSXStoreBindings_unityPurchasingAddTransactionObserver_m1174623098 )
    "_unityPurchasingFinishTransaction", referenced from:
    _iOSStoreBindings_unityPurchasingFinishTransaction_m1779103950 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_FinishTransaction_m601113037 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingFinishTransaction_m3734261221, _iOSStoreBindings_unityPurchasingFinishTransaction_m1779103950 )
    ld: symbol(s) not found for architecture x86_64


    at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
     
  7. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    This error indicates that there is a native method named getUnityPurchasingAppReceipt which cannot be found. It sounds like the native library is not present. Is this library only makes sense for iOS, please make sure the C# code in iOSStoreBindings is not compiled for a macOS build.

    IL2CPP requires that all native libraries be present for the proper platform at build time, where Mono does not require this until run time.
     
  8. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    Unity IAP is causing this error.
    I am attaching you an empty project with ONLY the Unity IAP plugin inside.

    Try to build for MACOSX / IL2CPP and you will see this error
     

    Attached Files:

  9. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    I'd recommend submitting this project with a bug report via the Unity editor. Then the IAP team at Unity can let you know when it is corrected.
     
  10. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    Ok thank you.
     
  11. Oscar-Tsang

    Oscar-Tsang

    Joined:
    Nov 7, 2012
    Posts:
    84
    Still no one look at it..... Fail to submit to appstore. osx build is meaningless..
     
  12. AMA_MR

    AMA_MR

    Joined:
    Mar 23, 2018
    Posts:
    17
    Thanks Josh. Much obliged.
     
  13. sandeep1995

    sandeep1995

    Joined:
    May 2, 2015
    Posts:
    1
    I still can not make it work using `IL2CPP`

    Code (JavaScript):
    1. Failed running /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so" --cachedirectory="/Users/sandeep/Projects/Pingo Jump/Assets/../Library/il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --directory="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput"
    2.  
    3. stdout:
    4. Building libil2cpp.so with AndroidToolChain
    5.     Output directory: /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a
    6.     Cache directory: /Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache
    7. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp:72:
    8. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/AtomicQueue.cpp:6:
    9. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps.h:121:
    10. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list
    11.        : "cc", "r2", "r3"
    12.                ^
    13. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    14.        : "cc", "memory", "r2", "r3"
    15.                          ^
    16. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    17.        : "cc", "memory", "r2", "r3"
    18.                          ^
    19. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    20.        : "cc", "memory", "r2", "r3"
    21.                          ^
    22. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    23.        : "cc", "memory", "r0", "r1", "r3"
    24.                          ^
    25. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    26.        : "cc", "memory", "r2", "r3"
    27.                          ^
    28. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    29.        : "cc", "memory", "r2", "r3"
    30.                          ^
    31. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    32.        : "cc", "memory", "r2", "r3"
    33.                          ^
    34. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    35.        : "cc", "memory", "r2", "r3"
    36.                          ^
    37. 9 errors generated.
    38.  
    39.  
    40. Invocation was: Executable: /Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
    41. Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/external/bdwgc/include" -I"." -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++abi/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/android/support/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot" -gcc-toolchain "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -isystem "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp" -o "/Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/895B4E5846F934E38A6570AE9F1AFF6D.o"
    42.  
    43.   at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    44.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    45.   at il2cpp.Program.DoRun(String[] args)
    46.   at il2cpp.Program.Run(String[] args)
    47.   at il2cpp.Program.Main(String[] args)
    48. stderr:
    49.  
    50. Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp:72:
    51. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/AtomicQueue.cpp:6:
    52. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps.h:121:
    53. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list
    54.        : "cc", "r2", "r3"
    55.                ^
    56. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    57.        : "cc", "memory", "r2", "r3"
    58.                          ^
    59. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    60.        : "cc", "memory", "r2", "r3"
    61.                          ^
    62. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    63.        : "cc", "memory", "r2", "r3"
    64.                          ^
    65. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    66.        : "cc", "memory", "r0", "r1", "r3"
    67.                          ^
    68. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    69.        : "cc", "memory", "r2", "r3"
    70.                          ^
    71. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    72.        : "cc", "memory", "r2", "r3"
    73.                          ^
    74. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    75.        : "cc", "memory", "r2", "r3"
    76.                          ^
    77. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    78.        : "cc", "memory", "r2", "r3"
    79.                          ^
    80. 9 errors generated.
    81.  
    82.  
    83. Invocation was: Executable: /Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
    84. Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/external/bdwgc/include" -I"." -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++abi/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/android/support/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot" -gcc-toolchain "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -isystem "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp" -o "/Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/895B4E5846F934E38A6570AE9F1AFF6D.o"
    85.  
    86.   at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    87.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    88.   at il2cpp.Program.DoRun(String[] args)
    89.   at il2cpp.Program.Run(String[] args)
    90.   at il2cpp.Program.Main(String[] args)
    91.   at Program.Main(String[] args)
    92.  
    93. UnityEngine.Debug:LogError(Object)
    94. UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
    95. UnityEditorInternal.Runner:RunNetCoreProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:79)
    96. UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:494)
    97. UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    98. UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    99. UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
    100. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    101.  
    102.  
     
  14. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    This error occurs because the x86 architecture is selected for Android. I suspect that you don't need to build for Android x86, so please disable that architecture in the Player Settings.
     
  15. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    66
    Can you help me please @JoshPeterson

    Failed running /Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/Unity.app/Contents/il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARM64" --configuration="Release" --outputpath="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Native/arm64-v8a/libil2cpp.so" --cachedirectory="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Assets/../Library/il2cpp_android_arm64-v8a/il2cpp_cache" --additional-include-directories="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Users/mahmoud/Downloads/android-ndk-r13b" --map-file-parser="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-UnityScript-firstpass.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-UnityScript.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Advertisements.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Analytics.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Firebase.App.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Mono.Security.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/System.Core.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/System.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/mscorlib.dll" --generatedcppdir="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain.
    Output directory: /Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Native/arm64-v8a
    Cache directory: /Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache
    ObjectFiles: 585 of which compiled: 18
    Time Compile: 13957 milliseconds Il2CppAttributes.cpp
    Time Compile: 8780 milliseconds Bulk_Generics_3.cpp
    Time Compile: 8193 milliseconds Bulk_Generics_5.cpp
    Time Compile: 7680 milliseconds Bulk_Generics_7.cpp
    Time Compile: 6839 milliseconds Bulk_Generics_2.cpp
    Time Compile: 6053 milliseconds Il2CppTypeDefinitions.cpp
    Time Compile: 5366 milliseconds Bulk_UnityEngine.Advertisements_0.cpp
    Time Compile: 4118 milliseconds Il2CppMetadataUsage.cpp
    Time Compile: 3023 milliseconds GenericMethods5.cpp
    Time Compile: 2416 milliseconds Il2CppMethodPointerTable.cpp
    Total compilation time: 14360 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/mahmoud/Downloads/android-ndk-r13b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @"/var/folders/88/7116dgm933x0x08sklcxdxqw0000gp/T/tmp474c20.tmp" -o "/Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/linkresult_1C38141CEF34054DB4F48A6DA192C376/libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "/Users/mahmoud/Downloads/android-ndk-r13b/platforms/android-21/arch-arm64" -gcc-toolchain "/Users/mahmoud/Downloads/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64" -target aarch64-none-linux-android -Wl,--wrap,sigaction -L "/Users/mahmoud/Downloads/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a" -lgnustl_static -llog -Xlinker -Map="/Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/linkresult_1C38141CEF34054DB4F48A6DA192C376/libil2cpp.map" -rdynamic -fPIE -pie -fuse-ld=bfd

    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/7B63697664B75B0C8F1AB06AEC590482.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E122496ECCCD1597B16BA9F4E984A278.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/658BBBA0F9DA29FE699573B207AC9F5B.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/50E23764B423CEEC99335DA7569B52C1.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/57394F00A121839AC4600A4327D988E8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CF54EB7E1D20A029C0A7A02D9BB0D8BD.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/21A1322F403A1459A7113E5CCCAB8DF7.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/2DB316E2735A21E6867AD51E623DCBA9.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E9F241927639A44C02D4D642559A4EF8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/63B9C9395494B7090DEDE86AB753A192.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0A17D390B5A4F5EECFAFADFF82F36C2C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/9EE6079B362A8C8C2BD8928DB50341A5.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/9F1284386D7C0B01D790839DE4CBE647.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C8E194B1AE51A1DF3B4980B87E922686.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3D6B9E0D80D00E4FFB507419BAA665DC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3735B80F068879E1576720C9D90704C3.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3AA3464AF87B76AF657C87D32E113B9A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/8A2AD2FDF254DAADF5C0A18FE305BB55.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CD177DAA6452BC91D95B1390714FCBE8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FFF92F8487CDA6DE5EC6F7935CE91B9E.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/B16899AF62DA5A114AAF1F654F8A0504.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/606F65785F54256F17CC2DDA29BD1697.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C11895FB17E40F68E7DF1778F245C6EA.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AD0075FF94F744D01BA722CE6C1B43B5.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/A38624A9DA115A0D7529A09F4C7F2963.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/99161CE902DF1D72825F3C4C1D809A0D.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D042F07EDA4E3E0D78673F3B39D7887D.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/BC67124A1CDD73113BB3CCCB00C7E677.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C664683E6ADCA672142E2ECA0BB1B2EB.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/60CB4EB4D8EA53DEFC684566B918F959.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/1DA16E58A6D06702179E89A07F30B289.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D12103545168D1E72B1C97EA26FC65E4.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/35044E72ED6669ABBFC32A23DCF01D00.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/51AC76759476E4F046C5ACB39A6A71D1.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E5BCEC36999E8ABC696E42FC5CF45098.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/97332478DAF0558947D0DDBFB803586A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/2C1EAFBEE6EEACD78FC50C9976B2CEBC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/366E34E9652210B83C056C8E7CF1DE1A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/B17FBA1F1FD620EF2CBF5134B65FB3BE.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/F605304178E6A9D54F5375D6A060E473.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/5DD3DF50B0A398F58B0B416A6E8895EF.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/09B52531F3E145ECE1D7522DDE50EC1A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E42C4DF0CB7BF5C384F96F2C2B1D4E81.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AD9CF56645A606E71A87F41AE028CF47.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E1D4B2BF06128C2B3B1F2F32929AAA89.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AEA59B38D19A0E52B87CCDC4A660834C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/15A95893A58154D26441D296A136194F.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FD059DB4FA158CD76F9554852DB336EC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/4C78BE61E95940E392332CB18419E723.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/64BF6EAD5B4F4E36FA78EA8C65B5D37C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0B87C753BF4755FE9F7E4695797B2527.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C719317893BD1E4D0E897E0971F8F099.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FDC4A3886D234BEDF3ADE54F9B18E2DD.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/DA5327C46E9907F39F2F5114F439B7A2.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/115455DFA2FE3FEC2404117EBDF02CA7.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FAB15BD76AE73D854E0F5A3BC389B342.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3E28E73D00F25C46ED4ADB0E86FBE809.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E1799072AA7076B67FBC18FF51E43D7C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/632A665CA2B87768DE6D2E8E054CEC39.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/A484A44F0173BC26FE87D92712A0F5D6.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CE2024CAF4A96868BBB7385BDEAB3ABF.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0941EE4BE07A3EF63<message truncated>
     
  16. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    It looks like the local IL2CPP build cache is corrupt for some reason. Try deleting the Library/il2cpp_android_arm64-v8a folder in your project. That should cause the cache to be built again, so the next build of the player might take longer, but hopefully it will work.
     
  17. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    66
    @JoshPeterson
    thank you for help , i fixed my problem
    the problem happen because
    1 -path of my project name in arabic language
    2- there is space in project name .
     
    JoshPeterson likes this.
  18. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    I get this error on BRAND NEW projects, regardless of settings/installs. Tested on 2019.1.8, 2019.1.9 and 2019.1.10, all installed since 2019.1.10's release.
    .8 and .9 worked fine previously, which leads me to believe the Android NDK/SDK have been updated centrally
     
  19. RGBTonyKol

    RGBTonyKol

    Joined:
    Oct 28, 2016
    Posts:
    7


    Join now. Previously, the project was going well. After updating to 2019.1.10, this error crashes.
     
  20. i9mobile

    i9mobile

    Joined:
    Aug 8, 2013
    Posts:
    54
    same problem here, can't compile with 2019.1.4f1
     
  21. PixelJ

    PixelJ

    Unity Technologies

    Joined:
    Nov 1, 2018
    Posts:
    216
  22. mihainem

    mihainem

    Joined:
    Dec 2, 2013
    Posts:
    1
    Try running unity and il2cpp.exe files as an administrator. I've set the properties for il2cpp to "Run as administrator", and opened unity with Run as administrator, and the issue dissappeared, and built successfully.
     
  23. CreativeInventoryStudio

    CreativeInventoryStudio

    Joined:
    Aug 29, 2016
    Posts:
    11
    Where do I find the il2cpp.exe. file?
     
  24. i9mobile

    i9mobile

    Joined:
    Aug 8, 2013
    Posts:
    54
    I'm working on MacOS.
     
  25. ranch000

    ranch000

    Joined:
    Mar 24, 2017
    Posts:
    18
    Hi, @JoshPeterson . I'm trying to export my unity android project for IL2CPP on unity 2017.4.9f1 (Had no problems with Mono prior to this) Can you please take a look into these exceptions and tell me where I'm going wrong: I tried deleting il2cpp cache, renaming the project and unity folders by removing any spaces/dots but still no success.


    Failed running /Applications/Unity_2017.4.9f1/Unity_2017.4.9.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="net45" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so" --cachedirectory="/Volumes/Development/Remy2017/Assets/../Library/il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="/Applications/Unity_2017.4.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Applications/Unity_2017.4.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Users/ranjanacharya/Downloads/android-ndk-r13b" --map-file-parser="/Applications/Unity_2017.4.9f1/Unity_2017.4.9.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Assembly-UnityScript.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Facebook.Unity.Settings.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/DOTween.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Analytics.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Facebook.Unity.Android.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Facebook.Unity.IOS.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Firebase.App.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Mono.Security.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/Stores.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/System.Core.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/System.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Purchasing.dll" --assembly="/Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Managed/mscorlib.dll" --generatedcppdir="/Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain.
    Output directory: /Volumes/Development/Remy2017/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a
    Cache directory: /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache
    ObjectFiles: 735 of which compiled: 735
    Time Compile: 16304 milliseconds Il2CppAttributes.cpp
    Time Compile: 10759 milliseconds Il2CppInvokerTable.cpp
    Time Compile: 10207 milliseconds Bulk_Assembly-CSharp_21.cpp
    Time Compile: 6994 milliseconds Bulk_System.Xml_0.cpp
    Time Compile: 6492 milliseconds Il2CppTypeDefinitions.cpp
    Time Compile: 5975 milliseconds Bulk_System.Xml_4.cpp
    Time Compile: 5966 milliseconds Bulk_Assembly-CSharp_42.cpp
    Time Compile: 5757 milliseconds Bulk_Assembly-CSharp_13.cpp
    Time Compile: 5657 milliseconds Bulk_System.Xml_11.cpp
    Time Compile: 5653 milliseconds Bulk_Assembly-CSharp_43.cpp
    Total compilation time: 219825 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/ranjanacharya/Downloads/android-ndk-r13b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @"/var/folders/pl/_dng18717cz07n8vjc8bm1fh0000gp/T/tmpJaMPKE.tmp" -o "/Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_EF0622018D8F544D9AA665A9B6F98AFA/libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "/Users/ranjanacharya/Downloads/android-ndk-r13b/platforms/android-16/arch-arm" -gcc-toolchain "/Users/ranjanacharya/Downloads/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "/Users/ranjanacharya/Downloads/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="/Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_EF0622018D8F544D9AA665A9B6F98AFA/libil2cpp.map" -rdynamic -fPIE -pie -fuse-ld=bfd

    clang++: warning: argument unused during compilation: '-pie'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7D461EC3568032D1C0D1DA8FC08E3B19.o: In function `RYPushNotificationManager__registerUserNotificationSettings_m2353063031':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_27.cpp:67724: undefined reference to `_registerUserNotificationSettings'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4BCFE421FCDAC88977605E0FDB77C367.o: In function `RYLocalNotificationManager__getIntUserDefaultValue_m574269632':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_26.cpp:47549: undefined reference to `_getIntUserDefaultValue'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4BCFE421FCDAC88977605E0FDB77C367.o: In function `RYLocalNotificationManager__setIntUserDefaultValue_m3165190842':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_26.cpp:47568: undefined reference to `_setIntUserDefaultValue'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F8347CF10B39B4E27ACC791FB9186E61.o: In function `RYGZip__Compress_m4291419648':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_22.cpp:57676: undefined reference to `_Compress'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F8347CF10B39B4E27ACC791FB9186E61.o: In function `RYGZip__DecompressBase64_m3868469209':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_22.cpp:57703: undefined reference to `_DecompressBase64'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/6A502F931C4C13C40EBAD957E1A13A0A.o: In function `WatchSDK__SendMessage_m2033579468':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_46.cpp:18159: undefined reference to `_SendMessage'
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)


    at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(IEnumerable`1 objectFiles, CppToolChainContext toolChainContext) in /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/Unity.IL2CPP.Building/CppProgramBuilder.cs:line 306
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics) in /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/Unity.IL2CPP.Building/CppProgramBuilder.cs:line 99
    at il2cpp.Program.DoRun(String[] args) in /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/il2cpp/Program.cs:line 272
    at il2cpp.Program.Run(String[] args) in /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/il2cpp/Program.cs:line 128
    at il2cpp.Program.Main(String[] args) in /Users/builduser/buildslave/unity/build/External/il2cpp/il2cpp/il2cpp/Program.cs:line 105
    stderr:

    Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/ranjanacharya/Downloads/android-ndk-r13b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @"/var/folders/pl/_dng18717cz07n8vjc8bm1fh0000gp/T/tmpJaMPKE.tmp" -o "/Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_EF0622018D8F544D9AA665A9B6F98AFA/libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "/Users/ranjanacharya/Downloads/android-ndk-r13b/platforms/android-16/arch-arm" -gcc-toolchain "/Users/ranjanacharya/Downloads/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "/Users/ranjanacharya/Downloads/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="/Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_EF0622018D8F544D9AA665A9B6F98AFA/libil2cpp.map" -rdynamic -fPIE -pie -fuse-ld=bfd

    clang++: warning: argument unused during compilation: '-pie'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7D461EC3568032D1C0D1DA8FC08E3B19.o: In function `RYPushNotificationManager__registerUserNotificationSettings_m2353063031':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_27.cpp:67724: undefined reference to `_registerUserNotificationSettings'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4BCFE421FCDAC88977605E0FDB77C367.o: In function `RYLocalNotificationManager__getIntUserDefaultValue_m574269632':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_26.cpp:47549: undefined reference to `_getIntUserDefaultValue'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4BCFE421FCDAC88977605E0FDB77C367.o: In function `RYLocalNotificationManager__setIntUserDefaultValue_m3165190842':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_26.cpp:47568: undefined reference to `_setIntUserDefaultValue'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F8347CF10B39B4E27ACC791FB9186E61.o: In function `RYGZip__Compress_m4291419648':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_22.cpp:57676: undefined reference to `_Compress'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F8347CF10B39B4E27ACC791FB9186E61.o: In function `RYGZip__DecompressBase64_m3868469209':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_22.cpp:57703: undefined reference to `_DecompressBase64'
    /Volumes/Development/Remy2017/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/6A502F931C4C13C40EBAD957E1A13A0A.o: In function `WatchSDK__SendMessage_m2033579468':
    /Volumes/Development/Remy2017/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_46.cpp:18159: undefined reference to `_SendMessage'
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)


    at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(IEnumerable`1 objectFiles, CppToolChainContext toolChainContext)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    at Program.Main(String[] args)

    -----------------------------------------------------------------------------

    Exception: /Applications/Unity_2017_4_9f1/Unity_2017_4_9.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll did not run properly!
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
    UnityEditorInternal.Runner.RunNetCoreProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:79)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.Collections.Generic.ICollection`1[T] userAssemblies, System.String outputDirectory, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:317)
    UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:160)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, System.Boolean debugBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:34)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <e9fd1ade59e04bd6bd2a77360c3fe63a>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <e9fd1ade59e04bd6bd2a77360c3fe63a>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at <e9fd1ade59e04bd6bd2a77360c3fe63a>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <e9fd1ade59e04bd6bd2a77360c3fe63a>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:272)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
    Last edited: Sep 6, 2019
  26. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    In the C# code in the project there is a method named _registerUserNotificationSettings. This method (and a few others) are extern methods, which means they must have an implementation in a native library. IL2CPP requires that this native library be present at build time.

    I suspect that this native library is not present for Android. If it should be present, please make sure that Unity includes it in the build. If it should not be present, you can use #if statements in the C# code to prevent these extern methods from being compiled on Android. See https://docs.unity3d.com/Manual/PlatformDependentCompilation.html for details.
     
    ranch000 likes this.
  27. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    Good afternoon, i'm sorry to burst in this thread, but I'm experiencing a similar problem with my project. It occured when I tried to move it to Unity2019.3.0b4 so as to convert my app to 64bit.

    Here is the error report :
    Failed running C:\Program Files\Unity\Hub\Editor\2019.3.0b4\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\Users\Clément\Documents\Unity Projects\HeroQuestDice\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\Users\Clément\Documents\Unity Projects\HeroQuestDice\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.3.0b4/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.3.0b4/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Program Files/Unity/Hub/Editor/2019.3.0b4/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.3.0b4/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/Clément/Documents/Unity Projects/HeroQuestDice/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="C:/Users/Clément/Documents/Unity Projects/HeroQuestDice/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain
    Output directory: C:\Users\Cl�ment\Documents\Unity Projects\HeroQuestDice\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
    Cache directory: C:\Users\Cl�ment\Documents\Unity Projects\HeroQuestDice\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
    il2cpp.exe didn't catch exception: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.ComponentModel.Win32Exception: L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)
    --- Fin de la trace de la pile d'exception interne ---
    � Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[] data, Func`2 action)
    � Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    � Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    � il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    � il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    � il2cpp.Program.Main(String[] args)
    ---> (Exception interne #0) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #1) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #2) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #3) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #4) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #5) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #6) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    ---> (Exception interne #7) System.ComponentModel.Win32Exception (0x80004005): L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)<---

    stderr:

    Exception non g�r�e�: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.ComponentModel.Win32Exception: L'ex�cutable sp�cifi� n'est pas une application valide pour cette plateforme de syst�me d'exploitation.
    � System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    � Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)
    � Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)
    � Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.<RunWithResult>b__0(Object o)
    --- Fin de la trace de la pile d'exception interne ---
    � Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[] data, Func`2 action)
    � Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    � Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    � il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    � il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    � il2cpp.Program.Main(String[] args)

    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1)
    UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String)
    UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(Il2CppBuildPipelineData, String, String, Boolean)
    UnityEditorInternal.IL2CPPBuilder:Run()
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)


    Thank you for your attention
     
  28. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Can you translate this exception message to English for me? :)
     
    ClemGrt likes this.
  29. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    It says : one or several errors occured - - - >...
    Specified executable is not a valid application for this operating system platform
     
  30. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Ok, so it looks like IL2CPP is trying to run the Android C++ compiler from the Android NDK, and that compiler cannot be started. Please make sure you have the proper version of the Android NDK installed. You can check Edit > Preferences in the Unity editor to see where Unity is looking for the Android NDK.
     
    ClemGrt likes this.
  31. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    Thank you very much for answering.
    It is something I 've already checked, i have the version required by unity 19....
    But i' ll try to reinstall both sdk and ndk.
     
  32. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    I uninstalled and re-installed all Unity versions and Android SDK and NDK. They are all "installed with Unity (recommended)" but it still doesn't work...

    Here is my new error message :

    Failed running D:\Unity\2020.1.0a3\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\Users\Clément\Documents\Unity Projects\HeroQuestDice\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\Users\Clément\Documents\Unity Projects\HeroQuestDice\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="D:/Unity/2020.1.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="D:/Unity/2020.1.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="D:/Unity/2020.1.0a3/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser=D:/Unity/2020.1.0a3/Editor/Data/Tools/MapFileParser/MapFileParser.exe --directory="C:/Users/Clément/Documents/Unity Projects/HeroQuestDice/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="C:/Users/Clément/Documents/Unity Projects/HeroQuestDice/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain
    Output directory: C:\Users\Cl�ment\Documents\Unity Projects\HeroQuestDice\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
    Cache directory: C:\Users\Cl�ment\Documents\Unity Projects\HeroQuestDice\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
    ObjectFiles: 156 of which compiled: 92
    Time Compile: 19814 milliseconds Il2CppAttributes.cpp
    Time Compile: 19654 milliseconds mscorlib3.cpp
    Time Compile: 19528 milliseconds Il2CppInvokerTable.cpp
    Time Compile: 17895 milliseconds mscorlib9.cpp
    Time Compile: 12712 milliseconds Il2CppCompilerCalculateTypeValues.cpp
    Time Compile: 11059 milliseconds Il2CppTypeDefinitions.c
    Time Compile: 11055 milliseconds Il2CppMetadataUsage.c
    Time Compile: 11050 milliseconds mscorlib_CodeGen.c
    Time Compile: 9011 milliseconds Generics10.cpp
    Time Compile: 8612 milliseconds System.cpp
    Total compilation time: 54942 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: D:\Unity\2020.1.0a3\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\Cl�ment\AppData\Local\Temp\tmp9E3E.tmp" -o "C:\Users\Cl�ment\Documents\Unity Projects\HeroQuestDice\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_B5D328FB462FCD986BBD5AA85AF58EC5\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id -stdlib=libc++ -static-libstdc++ -target armv7-linux-androideabi19 -Wl,--wrap,sigaction -llog -rdynamic -fuse-ld=gold.exe

    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/FD1E3516407F21C13AE0C68F4A8C2790.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B090D864BA3E8ED15AFC33EEA6DC96CF.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/D1056223F0BA4E7F80465C2CF10238CD.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A6D6383CD864A0F9F9FEE30EF268EC3A.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/217788FCFE75ED41D43CA0A2F4601532.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/EA37AF8CF1CC3240542D8908CDCE80EE.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E2F77395A14E020C23A6A101F48372ED.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/95D8DBC0E7EE191C56FE7738DB18D794.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/6366ACE5CE6F6214F6304D4CBC26ACBD.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/52E50964EC1E6283B4300A5D1A101C57.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/574028AE034752956CA906705B28FF18.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/B7A73E53EB58C562D9B67F4271D357ED.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E2A972535836A1BEEE8101FF9C74E699.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/16B76F10815F652ABB756841B8B75E19.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B1B787EB507AFBE0301A4FEC741776F4.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/71ABC32699EABAA143B9B78D9C9776E2.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/24DF77B9D655C2195F03E7C1ADD970C3.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/B41C0840D69FAD33659E4A8FFACA837F.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/96AD3ED0E1BB3284488C6E38B7F7FF9A.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/8E9F1BBCD59B8AD3DF3A613B4864658D.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3111BF61DD884B68BB9A82AFFC8C6E76.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/34E1C3B97763BCE9CD14106DDED7731F.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7F01A0830A4EA64E371AB045A7993962.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/A6C791F3FDC2528E35C7705EE1A4E12E.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/719B972EB663608E145CFC8C726A7A4C.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/BE66EDC926FAE9910658091DAC7BCB48.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/5D8EE4B3ABF53B2F8DF9AD90E037ABAE.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/536948BB42CBC9F735739086D8A85C20.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/25808D0836CD3F97CAB117EB05FE46CE.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/AE4AC74D225B6BD7CD6B7B7B08042DCA.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/D3C2CDF4FDF4ECB85BB11403D0325E27.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9008C702A699974AD67ED9DFC864FB4A.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/2729627EA042E0DC7CF00F2A30723CE6.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/DE64DA977D585100701B9267F226B2AC.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5B4072CF619C4C7FD1728BDB28920658.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/74A0BB02187C086058A442232C5BA683.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/F7CC91250D4FB2225EC42DB5D83693BD.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/8B6891D88AADD3D61EA0D154E23D374B.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/EC083BF116AF0F177EE01066496985B7.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/E1282C5E3B0BBD743046EB759E845F5B.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/D5CF91784CA32121189D9B6F285104C6.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/9B23BD1F972A26BB609A73F59717DF89.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/1D1A8D0ECA54E10B31586D29C5D83203.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/4F8FB477847129BF406CB5AAC51923A8.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/BC559684423D733B92040E65BE3C50AA.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/23CC9BA17CDE1EF2D09C962E875C0334.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A958721293AEBCA11FFC606F73C9A065.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F89D20D6DB2477D2B75C1ECD022723A0.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/235E405E88263444634DD8EB6B1041B9.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/26EBE18F4E79569AC8DFBF60EBD3AE00.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/ADB27D6B7B4CC564F008081F3836F2F1.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/013EC61D3C50A60721D248929A424B00.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/E71AF4C80B2CA9816787ADF818B7A1D7.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/73C58C6A2FE6066C5C5119498083F6D6.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/FDD67F14ABF07502052FDE05CC1F6CC1.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A81F70C9ED603754416704D5BE19D0FF.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/2199FF792E73DE858F6BF813D6F66463.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/CB955898555E368977F617238FA4A910.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/05FF7B14135DD9CBCF89DC79AB7F242C.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/F0310E40DA3E59C7B09202244FC9D704.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/5B7313624E39275E647611DAB4768907.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/7E7672921DC1F0D0C96A2988FCCDFEC2.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/32CD20B0D39526C03FFD4F82B0684165.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/A38311987E7435D230BED788597A1149.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1E8BFA8DE8F59039A044ABEBEA63394D.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1E26BB9E9DF6974342273A1CEE601515.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1FF0E89952384E8F38C8FDE9080111CC.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2B9603E60E12DFEB5CA8D9178B883896.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/945849DB67848B13EAA5674E79591672.o'
    clang++.exe: error: no such file or directory: 'C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeab<message truncated>
     
  33. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    It looks like the build cache is not correct, because it was generated by the old Android NDK. Please delete the C:/Users/Cl?ment/Documents/Unity Projects/HeroQuestDice/Library/il2cpp_android_armeabi-v7a/il2cpp_cache directory. Then the build cache will populate again on your next build.
     
    ClemGrt likes this.
  34. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    I've just done it right now... still the same problem!
     
  35. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    I really appreciate you trying to help me!
     
  36. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Does one of the files that it mentioned in the error message actually exist?
     
  37. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    Yes, I tried to find some at random and they do exist in the directory.
    Could the 'é' in the path be an issue ?
     
  38. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Oh yes, that might be it. I'm not sure if the Android NDK tool can all handle non-ASCII characters.
     
  39. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    Allright, i'll try to solve this.
    Two basic questions then
    1-can I rename my admin user directory? (win 10)
    2- or can I set up another default directory in Unity for my projects?
     
  40. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    I think the directory which matters here is (2) the Unity project directory. You can copy or save the Unity project to any location on your machine.
     
    ClemGrt likes this.
  41. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    That was it!!!! Thank you sooooooooo much!!!
    It's weird this 'é' wasn't a problem until now... It's been years now i've worked in the same directory...
    Anyway you saved me!
    Thanks again...
    Now i'll have to share the answer with all the forums I asked the question.


    Unfortunately, now I have 109 new errors when compiling...
     
    JoshPeterson likes this.
  42. TheXRCompany

    TheXRCompany

    Joined:
    Jul 2, 2019
    Posts:
    12
    unfortunately its not the case of directory for me


    Exception: /Applications/Unity/Hub/Editor/2018.4.9f1/Unity.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll did not run properly!
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
    UnityEditorInternal.Runner.RunNetCoreProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:79)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:368)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.String inputDirectory, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:351)
    UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:211)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <df45ca7b334d4b918976307f9d26db2e>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <df45ca7b334d4b918976307f9d26db2e>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <df45ca7b334d4b918976307f9d26db2e>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <df45ca7b334d4b918976307f9d26db2e>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:286)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  43. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    There should be another error message in the Editor log near this one which has more information about the cause of the error. Can you provide that?
     
  44. ClemGrt

    ClemGrt

    Joined:
    Nov 8, 2016
    Posts:
    18
    Actually, changing the path of my project solved this problem but I faced another one so I had to restart a new project and past everything in from the older one...
    Unfortunately I 've lost the log in the process then
     
  45. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    The problem here is with the GetBlendShapesInfo method (and related methods). It looks like this an extern method in C# code, which must exist in a native static library in the project. The native linker cannot find this method, so the error shown above it printed.

    Should the method GetBlendShapesInfo exist for Android? If so, please make sure the static library is in the build. If not, please use #if statements in C# to remove it from the compilation for Android. See https://docs.unity3d.com/Manual/PlatformDependentCompilation.html for details.
     
  46. TheXRCompany

    TheXRCompany

    Joined:
    Jul 2, 2019
    Posts:
    12
    oh thank you. will check it out
     
  47. TheXRCompany

    TheXRCompany

    Joined:
    Jul 2, 2019
    Posts:
    12
    Thank you so much for you help but i am actually not that expert. GetBlendShapesInfo should not be there.. where do i put the #if statements ? i read the link u sent but dont understand
     
  48. ranch000

    ranch000

    Joined:
    Mar 24, 2017
    Posts:
    18
    #if !UNITY_ANDROID
    private static extern void GetBlendShapesInfo();
    #endif

    and the calling place

    #if !UNITY_ANDROID
    GetBlendShapesInfo();
    #endif

    Do the same for other such methods causing the error.
     
  49. TheXRCompany

    TheXRCompany

    Joined:
    Jul 2, 2019
    Posts:
    12
    oh , thanks Ranch,will try it out
     
  50. Adnanqau1

    Adnanqau1

    Joined:
    Jan 26, 2016
    Posts:
    3
    I am getting this Error On build-64 bit apk Using Unity 2019.1.0f2
    please help me


    Win32Exception: ApplicationName='C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe', CommandLine='--convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="C:\Users\Miczon LLP\Desktop\Racdk\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="C:\Users\Miczon LLP\Desktop\Racdk\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/android-ndk-r16b-windows-x86_64/android-ndk-r16b" --profiler-report --map-file-parser="C:/Program Files/Unity/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/Miczon LLP/Desktop/Racdk/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="C:/Users/Miczon LLP/Desktop/Racdk/Temp/StagingArea/Il2Cpp/il2cppOutput" ', CurrentDirectory='C:\Users\Miczon LLP\Desktop\Racdk\Temp\StagingArea\assets\bin\Data\Managed', Native error= The requested operation requires elevation.


    System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <c9226b2f33b7421e85bb391f94075e49>:0)
    System.Diagnostics.Process.Start () (at <c9226b2f33b7421e85bb391f94075e49>:0)
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:44)
    UnityEditor.Utils.Program.Start () (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:28)
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:106)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.String inputDirectory, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <177bc8179be6497489c4b5b319f290d7>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)