Exception: Il2cpp.exe Did Not Run Properly!

Hi!

I’m just upgraded to Unity 2018.3.12f1 and tried to build my project using IL2CPP. I pressed the Build button on Build Settings Window. After everything is over, there was "Build completed with a result of ‘Succeeded’ " message in the console window with two error messages. And then, my project folder’s location was open instead of give me my APK file. Then, i opened the project folder and there was not any APK file in it again.

I can’t fix. Can you help me?

Error1: Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe 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 C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List1[T] arguments, System.Action1[T] setupStartInfo, System.String workingDirectory) (at C:/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 C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:349) UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:211) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35) UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :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 :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :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:286) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Error2: Failed running C:\Program Files\Unity\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\Ser_q\OneDrive\Masaüstü 1\Unity Oyunlar\Ring Ball\Ring Ball\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so” --cachedirectory=“C:\Users\Ser_q\OneDrive\Masaüstü 1\Unity Oyunlar\Ring Ball\Ring Ball\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:/Program Files/Java/android-ndk-r16b” --map-file-parser=“C:\Program Files\Unity\Editor\Data\Tools\MapFileParser\MapFileParser.exe” --directory=“C:\Users\Ser_q\OneDrive\Masaüstü 1\Unity Oyunlar\Ring Ball\Ring Ball\Temp\StagingArea\assets\bin\Data\Managed” --generatedcppdir=“C:\Users\Ser_q\OneDrive\Masaüstü 1\Unity Oyunlar\Ring Ball\Ring Ball\Temp\StagingArea\Il2Cpp\il2cppOutput”

stdout: Building libil2cpp.so with AndroidToolChain Output directory: C:\Users\Ser_q\OneDrive\Masa�st� 1\Unity Oyunlar\Ring Ball\Ring Ball\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a Cache directory: C:\Users\Ser_q\OneDrive\Masa�st� 1\Unity Oyunlar\Ring Ball\Ring Ball\Library\il2cpp_android_armeabi-v7a\il2cpp_cache ObjectFiles: 585 of which compiled: 0 Total compilation time: 15017 milliseconds. il2cpp.exe didn’t catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\Java\android-ndk-r16b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @“C:\Users\Ser_q\AppData\Local\Temp\tmp6383.tmp” -o “C:\Users\Ser_q\OneDrive\Masa�st� 1\Unity Oyunlar\Ring Ball\Ring Ball\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_20F55691E43EAD7596228F655B12DFFA\libil2cpp.so” -shared -Wl,-soname,libil2cpp.so -Wl,–no-undefined -Wl,-z,noexecstack -Wl,–gc-sections -Wl,–build-id --sysroot “C:\Program Files\Java\android-ndk-r16b\platforms\android-16\arch-arm” -gcc-toolchain “C:\Program Files\Java\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64” -target armv7-none-linux-androideabi -Wl,–wrap,sigaction -L “C:\Program Files\Java\android-ndk-r16b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a” -lgnustl_static -llog -rdynamic -fuse-ld=gold.exe

clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/354650F11D1936EF6AF65371690184FB.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3694305E3092AA36575E02EECC84CDA6.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5F5886D72E8861BAE4A98FA21B3EB8C2.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/086CBEB5FE1BC180D42938DC6D8C2549.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/C44507221482B18336B5341F538EC4AD.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0D2DC1FFFD67D19002B6103384D38C04.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5BEEA9B08D01C3C60B2161C6B3855304.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/6307B513AE5FEBC8ACB3CD03C17A3548.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1A50D197785AE80841DC51892CE4B9BE.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/F93DBDCA622550AEF0B4BBFD8E690F26.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/75B698532A9F8AB84A20412952ED0373.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/912DD631AB566B5D8945DA82898CFD98.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9747EE9EC7DC2DED2994BB127C421876.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9C2C34F13069C0071238B15F665DE608.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1E8E75FF0259136C76ED61703E8DA701.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/8012A09C4B2C05159DED1BC295BD6F3A.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/79871F5FDD428F0E6F3621C8028AB472.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E2DF2DA283261CBB359C9769E29DE721.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/341B4BBBEE862F0800948CBE9A663F85.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/C633F489CD40F9D8BFAAB91034C81861.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/679CAFB9E2709A277F0E417993BE142F.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/74520F3F8BB2FD4A4C992F491197CF93.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/197BAE27B57E042480D1DF8760648AEA.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0BE7DC945C6EEA65971D0790E04E5931.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4AD739D018751752114884A80DE19A31.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/EF785DE83AC27429AF51B37F8942FBBA.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/DE5361BAD5F39B2C1B7D9E96CE5B899C.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/627374A989E5E95ECD939B399A2D7D29.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/EAD9F5CD646F025B6DF739EA420CFADB.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/94B51764D71F71FB2E4EB07F3BA1179C.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4E90A58B81FBF99C74E4550F24CAF27A.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0C8C52877C7C602AE2C916979C8BE2FC.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/184ADB294A24F137B3703EAE681C90B2.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5924087BDD9D7C2FC2E014538EBDAAC7.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A400AE67AFA7CB24D32246FB845763B3.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1C513B89DD308120DFCFFD2A7F167376.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5BE477D2D6BC0756C73AB6F352394593.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0D661E180F86DF18BE33065B1031EE37.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/0300D72E4B2664E18391221A62CD7B9B.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3BAFDB61C3B6FB6A21C4E0AF23154B3F.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E86534E8AEFA3D07E524A539861AAEAE.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E865218D81FB9EB6AE3B49A97C48F212.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/025463AD5B85F7566FB965D6BDE32681.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/195FBDEE1BE0077CB498A0AA1214F073.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/C6FAF4C62A85640F645D12CF58610821.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/993F410A2480E6C7785694616034D2A2.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/8E4459BB8A4046EB366EDB9C42F57AA5.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/177CC7595D263088B8C5C7582E7834B6.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9A8A5D59C452ECAD59F3E27D2F1F92CA.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/8559C0D557EC05FD8F34F508867148B4.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/966B0D178EEBC5141D1A2B514551AEDD.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/AC587F51CDD216CEE46460EB4D10FF96.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/5734AA201A3D7DD806964AF07DCCB6EB.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/E8C6660C1E0DD9A8B654E14463B6A291.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3B40F5AEDFE9160D3FF45AB27AD2EAAB.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/8B9D2279E4DBE8DA94E8125324E52AA2.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9ADB59ECADE6BAF0E105B454AF1E21F6.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/4A67853F2CA8EFA34E0C6827CCE8C2A5.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3AF6D1E8990EA8425D15AF77783E8FFC.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/CC8239D5AED2BAA9468A6C4336F534F7.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/69A9C3230758D02AED010D5D256C1B14.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/3E82ACFEB6A58B8B7A797CDA5A2482A4.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/A2463B99FD4D92EED58A0DF19090E922.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1CB98A3C8ACF789BE2FD92B60565CBB7.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/06C03CA718D9E847613BD9944F833FCF.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/B4756A3885BEE517E3EFEA3C3BCB003B.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/1A67E92B33F8B3C34ED23E7A55162461.o’ clang++.exe: error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9F2192C9F06F4786551E1EE8DD4389EA.o’ clang++.ex

FIXED!

error: no such file or directory: ‘C:/Users/Ser_q/OneDrive/Masa?st? 1/Unity Oyunlar/Ring Ball/Ring Ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/9F2192C9F06F4786551E1EE8DD4389EA.o’ clang++.ex

JoshPeterson : I suspect those ‘?’ characters that are not part of the ASCII character set. I think that the Android NDK has trouble with these characters. I would recommend locating your Unity project in a path which has only ASCII characters. That might work.

1 Like

Just removing parentheses from my project folder name resolved the issue. Thanks a lot!!!

Hi,

I have similar error. I have tried what you said but error didnt clear.

These are my error logs.

I’m just upgraded to Unity 2018.3.12f1 and tried to build my project using IL2CPP. I pressed the Build button on the Build Settings Window. After everything is over, there was "Build completed with a result of ‘Succeeded’ " message in the console window with two error messages. And then, my project folder’s location was open instead of giving me my APK file. Then, I opened the project folder and there was not any APK file in it again.

Error 1:
Failed running /Applications/Unity 2018.3.0/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/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so” --cachedirectory=“/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Assets/…/Library/il2cpp_android_armeabi-v7a/il2cpp_cache” --additional-include-directories=“/Applications/Unity 2018.3.0/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include” --additional-include-directories=“/Applications/Unity 2018.3.0/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include” --tool-chain-path=“/Users/sunderrajanranganathan/Library/Android/ndk” --map-file-parser=“/Applications/Unity 2018.3.0/Unity.app/Contents/Tools/MapFileParser/MapFileParser” --directory=“/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/assets/bin/Data/Managed” --generatedcppdir=“/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput”

stdout: Building libil2cpp.so with AndroidToolChain Output directory: /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a Cache directory: /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Library/il2cpp_android_armeabi-v7a/il2cpp_cache ObjectFiles: 566 of which compiled: 0 Total compilation time: 2137 milliseconds. il2cpp.exe didn’t catch exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/sunderrajanranganathan/Library/Android/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @“/var/folders/48/ycdqpd313vvf6gdhtxmtq6vh0000gn/T/tmpSGL4sY.tmp” -o “/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_5D7A8C098E2724A4A06137F4DD46A294/libil2cpp.so” -shared -Wl,-soname,libil2cpp.so -Wl,–no-undefined -Wl,-z,noexecstack -Wl,–gc-sections -Wl,–build-id --sysroot “/Users/sunderrajanranganathan/Library/Android/ndk/platforms/android-16/arch-arm” -gcc-toolchain “/Users/sunderrajanranganathan/Library/Android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64” -target armv7-none-linux-androideabi -Wl,–wrap,sigaction -L “/Users/sunderrajanranganathan/Library/Android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a” -lgnustl_static -llog -Xlinker -Map=“/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_5D7A8C098E2724A4A06137F4DD46A294/libil2cpp.map” -rdynamic -fuse-ld=gold

/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29626: error: undefined reference to ‘IOSInit’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29652: error: undefined reference to ‘IOSLogInWithReadPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29652: error: undefined reference to ‘IOSLogInWithReadPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29670: error: undefined reference to ‘IOSLogInWithPublishPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29670: error: undefined reference to ‘IOSLogInWithPublishPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29684: error: undefined reference to ‘IOSLogOut’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29684: error: undefined reference to ‘IOSLogOut’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29694: error: undefined reference to ‘IOSSetShareDialogMode’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29694: error: undefined reference to ‘IOSSetShareDialogMode’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29720: error: undefined reference to ‘IOSShareLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29774: error: undefined reference to ‘IOSFeedShare’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29870: error: undefined reference to ‘IOSAppRequest’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29938: error: undefined reference to ‘IOSAppInvite’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29968: error: undefined reference to ‘IOSCreateGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29994: error: undefined reference to ‘IOSJoinGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29994: error: undefined reference to ‘IOSJoinGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30012: error: undefined reference to ‘IOSFBSettingsActivateApp’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30012: error: undefined reference to ‘IOSFBSettingsActivateApp’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30064: error: undefined reference to ‘IOSFBAppEventsLogEvent’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30142: error: undefined reference to ‘IOSFBAppEventsLogPurchase’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30182: error: undefined reference to ‘IOSFBAppEventsSetLimitEventUsage’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30182: error: undefined reference to ‘IOSFBAppEventsSetLimitEventUsage’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30192: error: undefined reference to ‘IOSGetAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30192: error: undefined reference to ‘IOSGetAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30202: error: undefined reference to ‘IOSFBSdkVersion’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30202: error: undefined reference to ‘IOSFBSdkVersion’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30221: error: undefined reference to ‘IOSFetchDeferredAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30221: error: undefined reference to ‘IOSFetchDeferredAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30231: error: undefined reference to ‘IOSRefreshCurrentAccessToken’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30231: error: undefined reference to ‘IOSRefreshCurrentAccessToken’ clang++: error: linker command failed with exit code 1 (use -v to see invocation)

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) stderr:

Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/sunderrajanranganathan/Library/Android/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @“/var/folders/48/ycdqpd313vvf6gdhtxmtq6vh0000gn/T/tmpSGL4sY.tmp” -o “/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_5D7A8C098E2724A4A06137F4DD46A294/libil2cpp.so” -shared -Wl,-soname,libil2cpp.so -Wl,–no-undefined -Wl,-z,noexecstack -Wl,–gc-sections -Wl,–build-id --sysroot “/Users/sunderrajanranganathan/Library/Android/ndk/platforms/android-16/arch-arm” -gcc-toolchain “/Users/sunderrajanranganathan/Library/Android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64” -target armv7-none-linux-androideabi -Wl,–wrap,sigaction -L “/Users/sunderrajanranganathan/Library/Android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a” -lgnustl_static -llog -Xlinker -Map=“/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_5D7A8C098E2724A4A06137F4DD46A294/libil2cpp.map” -rdynamic -fuse-ld=gold

/Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29626: error: undefined reference to ‘IOSInit’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29652: error: undefined reference to ‘IOSLogInWithReadPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29652: error: undefined reference to ‘IOSLogInWithReadPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29670: error: undefined reference to ‘IOSLogInWithPublishPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29670: error: undefined reference to ‘IOSLogInWithPublishPermissions’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29684: error: undefined reference to ‘IOSLogOut’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29684: error: undefined reference to ‘IOSLogOut’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29694: error: undefined reference to ‘IOSSetShareDialogMode’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29694: error: undefined reference to ‘IOSSetShareDialogMode’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29720: error: undefined reference to ‘IOSShareLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29774: error: undefined reference to ‘IOSFeedShare’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29870: error: undefined reference to ‘IOSAppRequest’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29938: error: undefined reference to ‘IOSAppInvite’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29968: error: undefined reference to ‘IOSCreateGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29994: error: undefined reference to ‘IOSJoinGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:29994: error: undefined reference to ‘IOSJoinGameGroup’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30012: error: undefined reference to ‘IOSFBSettingsActivateApp’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30012: error: undefined reference to ‘IOSFBSettingsActivateApp’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30064: error: undefined reference to ‘IOSFBAppEventsLogEvent’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30142: error: undefined reference to ‘IOSFBAppEventsLogPurchase’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30182: error: undefined reference to ‘IOSFBAppEventsSetLimitEventUsage’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30182: error: undefined reference to ‘IOSFBAppEventsSetLimitEventUsage’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30192: error: undefined reference to ‘IOSGetAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30192: error: undefined reference to ‘IOSGetAppLink’ /Users/sunderrajanranganathan/Documents/Projetcs/Unity/Projects/InHouse/SpanishBingo/Bingo/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Facebook.Unity_0.cpp:30202: error: u

Error 2:
Exception: /Applications/Unity 2018.3.0/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.Action1[T] setupStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:79) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List1[T] arguments, System.Action1[T] setupStartInfo, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:366) 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:349) 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.Action1[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 :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :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 :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :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)

Can you please guide me with this?
Thanks in advance.

1 Like

Did you find any solution!?

Same issue here. We can see “facebook” in the error log, it must have something to do with the facebook sdk. I was using facebook sdk 7.16.0 before, I downgraded it to 7.15.1, issue fixed.
Before we downgraded the facebook sdk, we must delete both FacebookSDK and PlayServiceResolver folders manually, then import the facebook sdk version 7.15.1.

After upgrading to 7.16 il2cpp builds are failing on Android and archiving is failing on iOS.

1 Like

Hi - I’ve moved this thread form the Documentation forum, hopefully it will be more helpful over in the Android area.

Well i too have the same error atm. Im updating the NDK and will try it again.

EDIT: no, didnt work

Please post your error, if you look closely, the errors above are all different

You are right, im running another build to post my errors. It may be related to our upgrade from unity v2017.4 to unity 2019.1. The only thing which fails atm is the building process.

EDIT: I solved my issue. The il2cpp process couldnt run because apparently one of my plugins was set to “all platforms”, though it only has to be set to iOS. It seems like this didnt transfer over to the new unity version and it set it to the default value “all platforms” instead. Setting it back to only “iOS” solved it for me.

4687367--442007--upload_2019-6-26_14-15-2.png

1 Like

I am facing the same issue with a project in 2017.4… Have anyone find any solution?

which issue, there are multiple issues posted here. Please post yours

1 Like

for me it work as go to C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe path right click on il2cpp.exe → properties → compatiblity → select run this program as an administrator and change this setting to all user → apply → ok

Hope this will work.

1 Like

It didn’t work mite. I’m using 2019.1.9

Here’s my error log wishing someone can help me

Failed running C:\Program Files\Unity\Hub\Editor\2019.1.9f1\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\Eyelsi\Desktop\AzetaZone\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so” --cachedirectory=“C:\Users\Eyelsi\Desktop\AzetaZone\Assets..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache” --additional-include-directories=“C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include” --additional-include-directories=“C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include” --tool-chain-path=“C:/Users/Eyelsi/AppData/Local/Android/sdk/ndk-bundler16b” --profiler-report --map-file-parser=“C:/Program Files/Unity/Hub/Editor/2019.1.9f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe” --directory=C:/Users/Eyelsi/Desktop/AzetaZone/Temp/StagingArea/assets/bin/Data/Managed --generatedcppdir=C:/Users/Eyelsi/Desktop/AzetaZone/Temp/StagingArea/Il2Cpp/il2cppOutput

stdout:

Building libil2cpp.so with AndroidToolChain

Output directory: C:\Users\Eyelsi\Desktop\AzetaZone\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a

Cache directory: C:\Users\Eyelsi\Desktop\AzetaZone\Library\il2cpp_android_armeabi-v7a\il2cpp_cache

il2cpp.exe didn’t catch exception: System.AggregateException: One or more errors occurred. —> System.ComponentModel.Win32Exception: The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)

— End of inner exception stack trace —

at Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[ ] data, Func`2 action)

at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)

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)

—> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #1) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #2) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #3) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #4) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #5) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #6) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

—> (Inner Exception #7) System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)<—

stderr:

Unhandled Exception: System.AggregateException: One or more errors occurred. —> System.ComponentModel.Win32Exception: The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at Unity.IL2CPP.Shell.Execute(ExecuteArgs executeArgs, IExecuteController controller)

at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile(IntermediateObjectFileCompilationData data)

at Unity.IL2CPP.Building.ParallelFor.<>c__DisplayClass1_0`2.b__0(Object o)

— End of inner exception stack trace —

at Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[ ] data, Func`2 action)

at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)

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)

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List1, Action1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496) UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (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(String, String, IIl2CppPlatformProvider, Action1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

and then this…

Exception: C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp/build/il2cpp.exe 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 C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action1[T] setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List1[T] arguments, System.Action1[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.Action1[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 <1a10f9035b6b403994c99e5b653643c6>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1a10f9035b6b403994c99e5b653643c6>: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 <1a10f9035b6b403994c99e5b653643c6>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <1a10f9035b6b403994c99e5b653643c6>: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)

1 Like

Few questions:

  1. Are you able to build with Mono scripting backend selected?
  2. The error indicates that’s some executable is missing, I assume you installed both SDK & NDK. Though I would imagine a more informative message should have been provided, if NDK is missing
  3. Can you build with empty project + single script?

2019.1.9f1

No error when building with Mono
But when building with IL2CPP:
IL2CPP Did not run properly

Failed running C:\Program Files\Unity\Hub\Editor\2019.1.9f1\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:\Unity SSD\Words\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so” --cachedirectory=“C:\Unity SSD\Words\Assets..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache” --additional-include-directories=“C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include” --additional-include-directories=“C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include” --tool-chain-path=“C:/Program Files/Unity/Hub/Editor/2019.1.9f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK” --profiler-report --map-file-parser=“C:/Program Files/Unity/Hub/Editor/2019.1.9f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe” --directory=“C:/Unity SSD/Words/Temp/StagingArea/assets/bin/Data/Managed” --generatedcppdir=“C:/Unity SSD/Words/Temp/StagingArea/Il2Cpp/il2cppOutput”
stdout:
Building libil2cpp.so with AndroidToolChain
Output directory: C:\Unity SSD\Words\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
Cache directory: C:\Unity SSD\Words\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
il2cpp.exe didn’t catch exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from C:\Unity SSD\Words\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp:72:
In file included from C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity\AtomicQueue.cpp:6:
In file included from C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps.h:121:
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r0”, “r1”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list
: “cc”, “memory”, “r2”, “r3”
^
9 errors generated.
Invocation was: Executable: “C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++”
Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\external\bdwgc\include" -I"." -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++abi\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\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 “C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot” -gcc-toolchain “C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64” -target armv7-none-linux-androideabi -isystem “C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\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 “C:\Unity SSD\Words\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp” -o “C:/Unity SSD/Words/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/6EAC69907BFAB1C152CD972B9AFE3C8E.o”
at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector) 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) stderr: Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from C:\Unity SSD\Words\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp:72: In file included from C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity\AtomicQueue.cpp:6: In file included from C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps.h:121: C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r0", "r1", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp\os\Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list : "cc", "memory", "r2", "r3" ^ 9 errors generated. Invocation was: Executable: "C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++" Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\il2cpp\external\bdwgc\include" -I"." -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\llvm-libc++abi\include" -I"C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\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 "C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sysroot" -gcc-toolchain "C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -isystem "C:\Program Files\Unity\Hub\Editor\2019.1.9f1\Editor\Data\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 "C:\Unity SSD\Words\Temp\StagingArea\Il2Cpp\il2cppOutput\lumpedcpp\Lump_libil2cpp_os.cpp" -o "C:/Unity SSD/Words/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/6EAC69907BFAB1C152CD972B9AFE3C8E.o" at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
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)
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73) UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List1, Action1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496) UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (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(String, String, IIl2CppPlatformProvider, Action1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Looks the same as this one - https://discussions.unity.com/t/675921 seems like there’s actually a bug.

If you want you can submit one as well, with repro project.

Indeed, after downgrading to 2019.1.0f2, the error is gone.

2 Likes

Oh no… so I should downgrade to 1.0 huh?
Ya building with mono is totally fine.

I hope opening the project with 1.0 will have no trouble at all from 1.9
also annoying that 2019.1.0 can’t be installed from the hub. have to use installer I guess…

EDIT:
unfortunately I’m experiencing the same error with 2019.1.0.
can you explain what you did clevergamesdev?