Hello,
I have this issue when building in 2019.4.12f Any idea on what the problem could be please?
API Level: Android 8.0 (Oreo level 26)
API Compatibility Level: .Net 4.x
Scripting Backend IL2CPP
Target Architectures: ARM64
Exception: C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
Failed running "C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\il2cpp/build/deploy/net471/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="D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="D:\Museum app\BOTH FULL PROJ\Xmas V8\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.4.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.4.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Program Files/Unity/Hub/Editor/2019.4.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.4.12f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="D:/Museum app/BOTH FULL PROJ/Xmas V8/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="D:/Museum app/BOTH FULL PROJ/Xmas V8/Temp/StagingArea/Il2Cpp/il2cppOutput"
stdout:
Building libil2cpp.so with AndroidToolChain
Output directory: D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
Cache directory: D:\Museum app\BOTH FULL PROJ\Xmas V8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
ObjectFiles: 290 of which compiled: 0
Total compilation time: 235 milliseconds.
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\TAMARA\AppData\Local\Temp\tmpA54F.tmp" -o "D:\Museum app\BOTH FULL PROJ\Xmas V8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_9BED2BFB2B63146352DA6F9826ECAB48\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
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp8.cpp:42029: error: undefined reference to 'GetBlendShapesInfo'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp8.cpp:42029: error: undefined reference to 'GetBlendShapesInfo'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13547: error: undefined reference to 'IsARKitFaceTrackingConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13547: error: undefined reference to 'IsARKitFaceTrackingConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13664: error: undefined reference to 'IsARKitSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13664: error: undefined reference to 'IsARKitSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13792: error: undefined reference to 'IsARKitWorldTrackingSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13792: error: undefined reference to 'IsARKitWorldTrackingSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19261: error: undefined reference to 'StartWorldTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19350: error: undefined reference to 'PauseSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19360: error: undefined reference to 'HitTest'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19373: error: undefined reference to 'GetLastHitTestResult'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19280: error: undefined reference to 'StartSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19129: error: undefined reference to 'unity_CreateNativeARSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19160: error: undefined reference to 'session_SetSessionCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19182: error: undefined reference to 'session_SetPlaneAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19204: error: undefined reference to 'session_SetUserAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19226: error: undefined reference to 'session_SetFaceAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19242: error: undefined reference to 'StartWorldTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19261: error: undefined reference to 'StartWorldTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19280: error: undefined reference to 'StartSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19299: error: undefined reference to 'StartSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19318: error: undefined reference to 'StartFaceTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19337: error: undefined reference to 'StartFaceTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19350: error: undefined reference to 'PauseSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19360: error: undefined reference to 'HitTest'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19373: error: undefined reference to 'GetLastHitTestResult'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19392: error: undefined reference to 'GetVideoTextureHandles'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19403: error: undefined reference to 'GetAmbientIntensity'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19414: error: undefined reference to 'GetTrackingQuality'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19425: error: undefined reference to 'GetARPointCloud'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19436: error: undefined reference to 'SetCameraNearFar'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19446: error: undefined reference to 'CapturePixelData'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19456: error: undefined reference to 'SessionAddUserAnchor'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19471: error: undefined reference to 'SessionRemoveUserAnchor'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19129: error: undefined reference to 'unity_CreateNativeARSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19436: error: undefined reference to 'SetCameraNearFar'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19446: error: undefined reference to 'CapturePixelData'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19425: error: undefined reference to 'GetARPointCloud'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19242: error: undefined reference to 'StartWorldTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19299: error: undefined reference to 'StartSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19337: error: undefined reference to 'StartFaceTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19318: error: undefined reference to 'StartFaceTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19392: error: undefined reference to 'GetVideoTextureHandles'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19403: error: undefined reference to 'GetAmbientIntensity'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19414: error: undefined reference to 'GetTrackingQuality'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19456: error: undefined reference to 'SessionAddUserAnchor'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19471: error: undefined reference to 'SessionRemoveUserAnchor'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13547: error: undefined reference to 'IsARKitFaceTrackingConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13664: error: undefined reference to 'IsARKitSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13792: error: undefined reference to 'IsARKitWorldTrackingSessionConfigurationSupported'
clang++.exe: 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, List`1 foundAssemblies)
at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
at il2cpp.Program.Main(String[] args)
stderr:
Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\TAMARA\AppData\Local\Temp\tmpA54F.tmp" -o "D:\Museum app\BOTH FULL PROJ\Xmas V8\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_9BED2BFB2B63146352DA6F9826ECAB48\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
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp8.cpp:42029: error: undefined reference to 'GetBlendShapesInfo'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp8.cpp:42029: error: undefined reference to 'GetBlendShapesInfo'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13547: error: undefined reference to 'IsARKitFaceTrackingConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13547: error: undefined reference to 'IsARKitFaceTrackingConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13664: error: undefined reference to 'IsARKitSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13664: error: undefined reference to 'IsARKitSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13792: error: undefined reference to 'IsARKitWorldTrackingSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:13792: error: undefined reference to 'IsARKitWorldTrackingSessionConfigurationSupported'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19261: error: undefined reference to 'StartWorldTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19350: error: undefined reference to 'PauseSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19360: error: undefined reference to 'HitTest'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19373: error: undefined reference to 'GetLastHitTestResult'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19280: error: undefined reference to 'StartSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19129: error: undefined reference to 'unity_CreateNativeARSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19160: error: undefined reference to 'session_SetSessionCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19182: error: undefined reference to 'session_SetPlaneAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19204: error: undefined reference to 'session_SetUserAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19226: error: undefined reference to 'session_SetFaceAnchorCallbacks'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19242: error: undefined reference to 'StartWorldTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19261: error: undefined reference to 'StartWorldTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19280: error: undefined reference to 'StartSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19299: error: undefined reference to 'StartSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19318: error: undefined reference to 'StartFaceTrackingSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19337: error: undefined reference to 'StartFaceTrackingSessionWithOptions'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19350: error: undefined reference to 'PauseSession'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19360: error: undefined reference to 'HitTest'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19373: error: undefined reference to 'GetLastHitTestResult'
D:\Museum app\BOTH FULL PROJ\Xmas V8\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp9.cpp:19392: error: undefined reference to 'GetVideoTextureHandles'
D:\Museum app\BOTH FULL<message truncated>
Thanks! ![]()