Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

ARKit is causing the Android IL2cpp build to break

Discussion in 'AR' started by deetru, Dec 6, 2017.

  1. deetru

    deetru

    Joined:
    Feb 3, 2015
    Posts:
    5
    Hi,

    I recently integrated ARKit into my project and it seems to have broken the Android IL2cpp build of the game. The mono build works fine. I tried integrating ARKit into a new project and the Android IL2cpp build is broken there as well.

    I'm on Unity 2017.2

    Any help would be greatly appreciated. Thank you!

    Here is the error output:
    Failed running /Applications/Unity/Unity.app/Contents/il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --development-mode --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="/Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so" --cachedirectory="/Users/danieltruong/Desktop/ARKit Example/Assets/../Library/il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Users/danieltruong/Documents/Development/android-ndk-r13b" --map-file-parser="/Applications/Unity/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.dll" --generatedcppdir="/Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain.
    Output directory: /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a
    Cache directory: /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache
    ObjectFiles: 528 of which compiled: 528
    Time Compile: 38314 milliseconds Bulk_mscorlib_6.cpp
    Time Compile: 16911 milliseconds GenericMethods0.cpp
    Time Compile: 16308 milliseconds Bulk_mscorlib_1.cpp
    Time Compile: 15477 milliseconds Bulk_Generics_6.cpp
    Time Compile: 14756 milliseconds Bulk_UnityEngine.UI_0.cpp
    Time Compile: 14158 milliseconds Bulk_mscorlib_0.cpp
    Time Compile: 13769 milliseconds Bulk_mscorlib_2.cpp
    Time Compile: 13249 milliseconds Bulk_mscorlib_7.cpp
    Time Compile: 10939 milliseconds Bulk_mscorlib_5.cpp
    Time Compile: 10156 milliseconds Bulk_mscorlib_3.cpp
    Total compilation time: 101370 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/danieltruong/Documents/Development/android-ndk-r13b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @"/var/folders/cs/21q3s4m94zl2w4xc5lt_mbvw0000gn/T/tmp4acb6a57.tmp" -o "/Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_A4219E93D156C2935362413BA22F6E77/libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "/Users/danieltruong/Documents/Development/android-ndk-r13b/platforms/android-16/arch-arm" -gcc-toolchain "/Users/danieltruong/Documents/Development/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "/Users/danieltruong/Documents/Development/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static -Xlinker -Map="/Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/linkresult_A4219E93D156C2935362413BA22F6E77/libil2cpp.map" -rdynamic -fPIE -pie -fuse-ld=bfd

    clang++: warning: argument unused during compilation: '-pie'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartSession_m1058926234':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32980: undefined reference to `StartSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_HitTest_m1061845514':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33060: undefined reference to `HitTest'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_GetLastHitTestResult_m2253916743':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33073: undefined reference to `GetLastHitTestResult'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartWorldTrackingSession_m2825108466':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32942: undefined reference to `StartWorldTrackingSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_SetCameraNearFar_m3696730583':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33136: undefined reference to `SetCameraNearFar'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARKitFaceTrackingConfiguration_IsARKitFaceTrackingConfigurationSupported_m1595646715':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28185: undefined reference to `IsARKitFaceTrackingConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28185: undefined reference to `IsARKitFaceTrackingConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartFaceTrackingSession_m719904136':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33018: undefined reference to `StartFaceTrackingSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARKitFaceTrackingConfiguration_IsARKitFaceTrackingConfigurationSupported_m1595646715':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28185: undefined reference to `IsARKitFaceTrackingConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_SessionRemoveUserAnchor_m4130406845':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33171: undefined reference to `SessionRemoveUserAnchor'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARFaceAnchor_GetBlendShapesInfo_m1406411827':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:27441: undefined reference to `GetBlendShapesInfo'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:27441: undefined reference to `GetBlendShapesInfo'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARKitFaceTrackingConfiguration_IsARKitFaceTrackingConfigurationSupported_m1595646715':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28185: undefined reference to `IsARKitFaceTrackingConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28185: undefined reference to `IsARKitFaceTrackingConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARKitSessionConfiguration_IsARKitSessionConfigurationSupported_m478432247':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28300: undefined reference to `IsARKitSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28300: undefined reference to `IsARKitSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28300: undefined reference to `IsARKitSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `ARKitWorldTrackingSessionConfiguration_IsARKitWorldTrackingSessionConfigurationSupported_m1068154971':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28426: undefined reference to `IsARKitWorldTrackingSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28426: undefined reference to `IsARKitWorldTrackingSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:28426: undefined reference to `IsARKitWorldTrackingSessionConfigurationSupported'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartWorldTrackingSessionWithOptions_m1181015146':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32961: undefined reference to `StartWorldTrackingSessionWithOptions'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_PauseSession_m3712983007':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33050: undefined reference to `PauseSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_unity_CreateNativeARSession_m4062034270':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32829: undefined reference to `unity_CreateNativeARSession'
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32829: undefined reference to `unity_CreateNativeARSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_session_SetSessionCallbacks_m1400038114':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32860: undefined reference to `session_SetSessionCallbacks'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_session_SetPlaneAnchorCallbacks_m3695255437':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32882: undefined reference to `session_SetPlaneAnchorCallbacks'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_session_SetUserAnchorCallbacks_m1528775075':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32904: undefined reference to `session_SetUserAnchorCallbacks'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_session_SetFaceAnchorCallbacks_m3835044259':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32926: undefined reference to `session_SetFaceAnchorCallbacks'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartWorldTrackingSession_m2825108466':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32942: undefined reference to `StartWorldTrackingSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartWorldTrackingSessionWithOptions_m1181015146':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32961: undefined reference to `StartWorldTrackingSessionWithOptions'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartSession_m1058926234':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32980: undefined reference to `StartSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartSessionWithOptions_m2141763664':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32999: undefined reference to `StartSessionWithOptions'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartFaceTrackingSession_m719904136':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33018: undefined reference to `StartFaceTrackingSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_StartFaceTrackingSessionWithOptions_m31962162':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33037: undefined reference to `StartFaceTrackingSessionWithOptions'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_PauseSession_m3712983007':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33050: undefined reference to `PauseSession'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_HitTest_m1061845514':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33060: undefined reference to `HitTest'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_GetLastHitTestResult_m2253916743':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33073: undefined reference to `GetLastHitTestResult'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_GetVideoTextureHandles_m918919940':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:33092: undefined reference to `GetVideoTextureHandles'
    /Users/danieltruong/Desktop/ARKit Example/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/2CA9D0A4E28D234E4B4A3C74CCF8C625.o: In function `UnityARSessionNativeInterface_GetAmbientIntensity_m4103225752':
    /Users/danieltruong/Desktop/ARKit Example/Temp/S<message truncated>
     
    hungrybelome and Seven-Huang like this.
  2. ARAKIT

    ARAKIT

    Joined:
    Sep 23, 2017
    Posts:
    8
    What kind of AR are you trying to do, like are you doing target-based? or something else?
     
  3. LuminousSilver

    LuminousSilver

    Joined:
    Aug 30, 2017
    Posts:
    1
    Got this same problem in a project I'm working with. Maybe Unity can update NDK support so we can use the newest version of NDK and this problem will resolve itself, or maybe its something else entirely, just shooting in the dark here haha. Anyone else have any workarounds that don't require pulling out ARKit?
     
    hungrybelome likes this.
  4. hungrybelome

    hungrybelome

    Joined:
    Dec 31, 2014
    Posts:
    317
    I'm in the same boat. Unable to compile with IL2CPP with ARKit in the project. Really hoping for a solution soon.
     
  5. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    4,683
    I think the relevant error here is:

    In function `UnityARSessionNativeInterface_StartSession_m1058926234':
    /Users/danieltruong/Desktop/ARKit Example/Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_0.cpp:32980: undefined reference to `StartSession'

    This means there is a method in C# code named StartSession in the UnityARSessionNativeInterface class. It is trying to p/invoke into a native method named StartSession, but there is no native library in the build which exposes that method, so the native linker fails.

    I'm not specifically familiar with ARKit code, so I'm not sure why this happens though. Should there be a native library involved here?
     
  6. jimmya

    jimmya

    Unity Technologies

    Joined:
    Nov 15, 2016
    Posts:
    793
    Native library is there only on iOS. We should do some #if UNITY_IOS around the ARKit code.
     
    MadeFromPolygons likes this.
  7. Seto

    Seto

    Joined:
    Oct 10, 2010
    Posts:
    230
    It still breaks the android IL2CPP.
     
  8. hungrybelome

    hungrybelome

    Joined:
    Dec 31, 2014
    Posts:
    317
  9. Seto

    Seto

    Joined:
    Oct 10, 2010
    Posts:
    230
    I already use the one from git.
    After I apply the fix from that issue, it's successfully built.
     
  10. orcinus

    orcinus

    Joined:
    May 7, 2013
    Posts:
    14
    This issue is persistent in 2019 for 2019.x and 2018.3.x. IL2CPP can't be built for Android for ARMx64 target, which prevents multiplatform build as per future requirement to publish 64-bit builds only for Google Play Store.
    Has there been any change so far? What is planned for ARCore/Kit support?

    ARKit and iOS build is fine this way, but Android builds only with Mono, which is ARMv7 limited.
     
  11. edgars_unity

    edgars_unity

    Joined:
    Feb 7, 2019
    Posts:
    22

    Running into an exact issue using mapbox 2018.3.8f1
     
  12. edgars_unity

    edgars_unity

    Joined:
    Feb 7, 2019
    Posts:
    22
    Not really resolution but the workaround is following if you building for Android ensure you have anything that referencing arkit not present in your folder structure. Then it works fine. I you need to compile for IOS then put arkit stuff back in.. I know its pain but it works that way
     
  13. jimmya

    jimmya

    Unity Technologies

    Joined:
    Nov 15, 2016
    Posts:
    793
    I thought we had fixed all these errors - could you specify what the errors are when you try to build?

    Also, make sure you're getting latest from bitbucket. https://bitbucket.org/Unity-Technologies/unity-arkit-plugin/src
     
  14. edgars_unity

    edgars_unity

    Joined:
    Feb 7, 2019
    Posts:
    22
unityunity