Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by $$anonymous$$ · May 10, 2017 at 02:21 PM · unity 5errorbugil2cpp

Exception: Il2cp did not run properly.

Hi guys,

I'm just upgraded to U5.6 and build my project using Il2cp but got this ex.

 Exception: E:\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
 UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:98)
 UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1 arguments, System.Action`1 setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:313)
 UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:304)
 UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:151)
 UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean debugBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:34)
 UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
 UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
 UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
 UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
 UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:186)
 UnityEditor.HostView:OnGUI()

Plus

 Failed running E:\Unity\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="[Project Path]\Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="[Project Path]\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="E:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="E:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="E:/Android NDK" --map-file-parser="E:\Unity\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="[Project Path]\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp.dll" --assembly="[Project Path]\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.UI.dll" --assembly="[Project Path]\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.dll" --generatedcppdir="[Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput" 
 
 stdout:
 Building libil2cpp.so with AndroidToolChain.
     Output directory: [Project Path]\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
     Cache directory: [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
 ObjectFiles: 451 of which compiled: 451
     Time Compile: 121204 milliseconds Bulk_mscorlib_6.cpp
     Time Compile: 102133 milliseconds Bulk_mscorlib_1.cpp
     Time Compile: 99667 milliseconds Il2CppAttributes.cpp
     Time Compile: 94028 milliseconds Bulk_UnityEngine.UI_0.cpp
     Time Compile: 93617 milliseconds GenericMethods0.cpp
     Time Compile: 86195 milliseconds Bulk_Generics_5.cpp
     Time Compile: 56645 milliseconds Bulk_mscorlib_0.cpp
     Time Compile: 54133 milliseconds Il2CppInvokerTable.cpp
     Time Compile: 52463 milliseconds Bulk_mscorlib_2.cpp
     Time Compile: 50084 milliseconds Bulk_mscorlib_3.cpp
 Total compilation time: 471461 milliseconds.
 il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: E:\Android NDK\toolchains\llvm-3.6\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\vladi\AppData\Local\Temp\tmpD027.tmp" -o "[Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_6C37AD2BD10E6255FB3F24E276C50955\libil2cpp.so" -Wl,-soname,libil2cpp.so -shared -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "E:\Android NDK\platforms\android-16\arch-arm" -gcc-toolchain "E:\Android NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "E:\Android NDK\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -Xlinker -Map="[Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_6C37AD2BD10E6255FB3F24E276C50955\libil2cpp.map" -fuse-ld=bfd
 
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarRegisterLogFunc_m3302492093':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12247: undefined reference to `ezarRegisterLogFunc'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12247: undefined reference to `ezarRegisterLogFunc'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12247: undefined reference to `ezarRegisterLogFunc'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarNativeInit_m716861573':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12292: undefined reference to `ezarNativeInit'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarSetAssetPath_m1242544211':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12229: undefined reference to `ezarSetAssetPath'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarNativeInit_m716861573':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12292: undefined reference to `ezarNativeInit'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarSetAssetPath_m1242544211':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12229: undefined reference to `ezarSetAssetPath'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarOnResume_m1347189370':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12268: undefined reference to `ezarOnResume'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12268: undefined reference to `ezarOnResume'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarOnPause_m3015858977':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12278: undefined reference to `ezarOnPause'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12278: undefined reference to `ezarOnPause'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarGetProjectionGL_m2307621522':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12215: undefined reference to `ezarGetProjectionGL'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12215: undefined reference to `ezarGetProjectionGL'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarSetAssetPath_m1242544211':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12229: undefined reference to `ezarSetAssetPath'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarRegisterLogFunc_m3302492093':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12247: undefined reference to `ezarRegisterLogFunc'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarBase_IsValid_m340884984':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12257: undefined reference to `ezarBase_IsValid'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12257: undefined reference to `ezarBase_IsValid'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarSetRotation_m2224720687':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12307: undefined reference to `ezarSetRotation'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12307: undefined reference to `ezarSetRotation'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCreate_Augmenter_m3787425166':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12318: undefined reference to `ezarCreate_Augmenter'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12318: undefined reference to `ezarCreate_Augmenter'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarDestory_Augmenter_m2362994527':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12333: undefined reference to `ezarDestory_Augmenter'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12333: undefined reference to `ezarDestory_Augmenter'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_newFrame_m3473232041':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12343: undefined reference to `ezarAugmenter_newFrame'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12343: undefined reference to `ezarAugmenter_newFrame'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_attachCamera_m2645789609':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12358: undefined reference to `ezarAugmenter_attachCamera'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12358: undefined reference to `ezarAugmenter_attachCamera'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_detachCamera_m427907097':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12369: undefined reference to `ezarAugmenter_detachCamera'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12369: undefined reference to `ezarAugmenter_detachCamera'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_getVideoBackgroundTextureSize_m3270256581':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12387: undefined reference to `ezarAugmenter_getVideoBackgroundTextureSize'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12387: undefined reference to `ezarAugmenter_getVideoBackgroundTextureSize'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_getVideoBackgroundTextureFormat_m4099121420':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12397: undefined reference to `ezarAugmenter_getVideoBackgroundTextureFormat'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12397: undefined reference to `ezarAugmenter_getVideoBackgroundTextureFormat'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_setVideoBackgroundTextureID_m2617229536':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12408: undefined reference to `ezarAugmenter_setVideoBackgroundTextureID'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12408: undefined reference to `ezarAugmenter_setVideoBackgroundTextureID'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_getID_m4069868860':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12418: undefined reference to `ezarAugmenter_getID'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12418: undefined reference to `ezarAugmenter_getID'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarAugmenter_getRenderingFlag_m1893520459':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12429: undefined reference to `ezarAugmenter_getRenderingFlag'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12429: undefined reference to `ezarAugmenter_getRenderingFlag'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCreate_CameraCalibration_m2412659047':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12440: undefined reference to `ezarCreate_CameraCalibration'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12440: undefined reference to `ezarCreate_CameraCalibration'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarDestory_CameraCalibration_m3382695834':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12455: undefined reference to `ezarDestory_CameraCalibration'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12455: undefined reference to `ezarDestory_CameraCalibration'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCameraCalibration_getSize_m3415178612':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12472: undefined reference to `ezarCameraCalibration_getSize'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12472: undefined reference to `ezarCameraCalibration_getSize'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCameraCalibration_getFocalLength_m190374804':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12489: undefined reference to `ezarCameraCalibration_getFocalLength'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12489: undefined reference to `ezarCameraCalibration_getFocalLength'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCameraCalibration_getPrincipalPoint_m2452266459':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12506: undefined reference to `ezarCameraCalibration_getPrincipalPoint'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12506: undefined reference to `ezarCameraCalibration_getPrincipalPoint'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCameraCalibration_getDistortionParameters_m2947822044':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12523: undefined reference to `ezarCameraCalibration_getDistortionParameters'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12523: undefined reference to `ezarCameraCalibration_getDistortionParameters'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCreate_CameraDevice_m206099765':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12533: undefined reference to `ezarCreate_CameraDevice'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12533: undefined reference to `ezarCreate_CameraDevice'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarDestory_CameraDevice_m1716181910':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12548: undefined reference to `ezarDestory_CameraDevice'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12548: undefined reference to `ezarDestory_CameraDevice'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\8372CFE379EBFF08FD56BB3E6F9BA945.o: In function `EngineNativeIOS_ezarCameraDevice_start_m55157562':
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12558: undefined reference to `ezarCameraDevice_start'
 [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12558: undefined reference to `ezarCameraDevice_start'
 [Project Path]\Library\il2cpp_android_armeabi-v7a\il2cpp_ca<message truncated>

Any help will be greatly appreciated.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by JoshPeterson · May 11, 2017 at 12:05 PM

This is the key error:

 In function `EngineNativeIOS_ezarRegisterLogFunc_m3302492093':
  [Project Path]\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_EasyAR.Unity_0.cpp:12247: undefined reference to `ezarRegisterLogFunc'

It looks like you have a function named ezarRegisterLogFunc in native code somewhere that is not available in a native library built for Android. Based on the name of the type in managed code, EngineNativeIOS, I suspect that is is specific to iOS. So you might need to remove the EasyAR.dll assembly from the build on Android.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image $$anonymous$$ · May 11, 2017 at 12:24 PM 0
Share

Thanks for the reply. But there are some problems here: 1. It's work well before upgrading to u5.6. Do you think it's a bug or something? 2. That dll is my project's mate, without her, my project is nothing. Sorry.

Thank you once again and have a nice day.

avatar image JoshPeterson $$anonymous$$ · May 11, 2017 at 12:28 PM 0
Share

I don't think this is a bug in 5.6, although I might be wrong. Certainly EasyAR.dll has an associated native library it is using. Is that library built for Android? Can you build the Unity project for Android/IL2CPP in Unity 5.5 with no changes?

avatar image $$anonymous$$ JoshPeterson · May 11, 2017 at 12:45 PM 0
Share
  1. That library can be built for Android, Standalone and iOS . And I'm focusing on Android currently.

  2. Yes, I built for Android using il2cp in U5.5 with no problems.

Well, Anyway Unity itself warned me that upgrading from u5.5 to u5.6 may cause some changes. $$anonymous$$aybe what it changed cause the problem? I think I should re-import the dll.

Thank you for replying, please take your time.

Show more comments
avatar image
0

Answer by ahmedaniss · Dec 22, 2020 at 09:18 AM

problem fixed here : https://youtu.be/P_-vOfad_yc

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

GetThreadContext failed (Unity 5) 0 Answers

IL2CPP Build Error 0 Answers

Inconsistent shadow based on distance 0 Answers

Anyone on Unity 5 beta 12 getting this crash? 0 Answers

Unity 5 fatal error 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges