Aryzon unity google play

Aryzon is not building when setting up 64bit which is now mandatory to ship apps on google play.

Is there a fix coming anytime soon?

Hi and welcome!

Could you be a bit more specific please? We don’t get errors when building to 64 bit. Do you get an error message?

Hi!
It´s the same here! When I try to build to 64 bit there is an error!

I´m using unity 2019.2.19f1 and newest vuforia sdk.
Player settings - scripting backend to IL2CPP - Target architectures: ARMv7, ARM64 - minimum api level: Kitkat
when I press build I get this error:
Failed running C:\Program Files\Unity\Hub\Editor\2019.2.19f1\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=“ARM64” --configuration=“Release” --outputpath=“C:\Users\User\Desktop\teachAR2\Temp\StagingArea\assets\bin\Data\Native\arm64-v8a\libil2cpp.so” --cachedirectory=“C:\Users\User\Desktop\teachAR2\Assets…\Library\il2cpp_android_arm64-v8a/il2cpp_cache” --additional-include-directories=“C:/Program Files/Unity/Hub/Editor/2019.2.19f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include” --additional-include-directories=“C:/Program Files/Unity/Hub/Editor/2019.2.19f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include” --tool-chain-path=“C:/Program Files/Unity/Hub/Editor/2019.2.19f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK” --profiler-report --map-file-parser=“C:/Program Files/Unity/Hub/Editor/2019.2.19f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe” --directory=C:/Users/User/Desktop/teachAR2/Temp/StagingArea/assets/bin/Data/Managed --generatedcppdir=C:/Users/User/Desktop/teachAR2/Temp/StagingArea/Il2Cpp/il2cppOutput

stdout:
Building libil2cpp.so with AndroidToolChain
Output directory: C:\Users\User\Desktop\teachAR2\Temp\StagingArea\assets\bin\Data\Native\arm64-v8a
Cache directory: C:\Users\User\Desktop\teachAR2\Library\il2cpp_android_arm64-v8a\il2cpp_cache
ObjectFiles: 161 of which compiled: 57
Time Compile: 8702 milliseconds Il2CppAttributes.cpp
Time Compile: 8289 milliseconds Il2CppInvokerTable.cpp
Time Compile: 5298 milliseconds System.cpp
Time Compile: 5001 milliseconds mscorlib13.cpp
Time Compile: 4874 milliseconds GenericMethods.cpp
Time Compile: 4857 milliseconds System1.cpp
Time Compile: 4773 milliseconds mscorlib6.cpp
Time Compile: 4722 milliseconds Generics7.cpp
Time Compile: 4720 milliseconds UnityEngine.CoreModule1.cpp
Time Compile: 4715 milliseconds UnityEngine.CoreModule.cpp
Total compilation time: 14426 milliseconds.
il2cpp.exe didn’t catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @“C:\Users\User\AppData\Local\Temp\tmpA3B4.tmp” -o “C:\Users\User\Desktop\teachAR2\Library\il2cpp_android_arm64-v8a\il2cpp_cache\linkresult_5DD196DEB6690E854018C9BF84940198\libil2cpp.so” -shared -Wl,-soname,libil2cpp.so -Wl,–no-undefined -Wl,-z,noexecstack -Wl,–gc-sections -Wl,–build-id --sysroot “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\platforms\android-21\arch-arm64” -gcc-toolchain “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64” -target aarch64-none-linux-android -Wl,–wrap,sigaction -L “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\gnu-libstdc++\4.9\libs\arm64-v8a” -lgnustl_static -latomic -llog -rdynamic -fuse-ld=bfd.exe

C:/Users/User/Desktop/teachAR2/Library/il2cpp_android_arm64-v8a/il2cpp_cache/80FB084196486AD4E6F024FE3A2C74C9.o: In function OpenExternalApp_callApp_m0344D5E85C47A6076D3C19563B8717D1CBF9DCAF': C:\Users\User\Desktop\teachAR2\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp.cpp:25853: undefined reference tocallApp’
C:\Users\User\Desktop\teachAR2\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp.cpp:25853: undefined reference to `callApp’
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

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

Unbehandelte Ausnahme: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @“C:\Users\User\AppData\Local\Temp\tmpA3B4.tmp” -o “C:\Users\User\Desktop\teachAR2\Library\il2cpp_android_arm64-v8a\il2cpp_cache\linkresult_5DD196DEB6690E854018C9BF84940198\libil2cpp.so” -shared -Wl,-soname,libil2cpp.so -Wl,–no-undefined -Wl,-z,noexecstack -Wl,–gc-sections -Wl,–build-id --sysroot “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\platforms\android-21\arch-arm64” -gcc-toolchain “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64” -target aarch64-none-linux-android -Wl,–wrap,sigaction -L “C:\Program Files\Unity\Hub\Editor\2019.2.19f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\sources\cxx-stl\gnu-libstdc++\4.9\libs\arm64-v8a” -lgnustl_static -latomic -llog -rdynamic -fuse-ld=bfd.exe

C:/Users/User/Desktop/teachAR2/Library/il2cpp_android_arm64-v8a/il2cpp_cache/80FB084196486AD4E6F024FE3A2C74C9.o: In function OpenExternalApp_callApp_m0344D5E85C47A6076D3C19563B8717D1CBF9DCAF': C:\Users\User\Desktop\teachAR2\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp.cpp:25853: undefined reference tocallApp’
C:\Users\User\Desktop\teachAR2\Temp\StagingArea\Il2Cpp\il2cppOutput/Assembly-CSharp.cpp:25853: undefined reference to `callApp’
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

bei Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
bei Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
bei il2cpp.Program.DoRun(String[] args)
bei il2cpp.Program.Run(String[] args)
bei 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:126)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:71) UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List1, Action1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:507) UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:488) 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) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

If I delete Aryzon SDK and build the App again with same parameters, everything works fine!
Whats the problem???

Thanks for help!

Try changing OpenExternalApp.cs to this:

using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;

public class OpenExternalApp : MonoBehaviour {
#if UNITY_IOS
[DllImport ("__Internal")]
private static extern void callApp ();
#endif
public void OpenApp () {
#if UNITY_ANDROID
if (Application.platform == RuntimePlatform.Android) {
Application.OpenURL(“http://play.google.com/store/apps/details?id=com.Aryzon.AryzonDemo”);
}
#elif UNITY_IOS
if (Application.platform == RuntimePlatform.IPhonePlayer) {
callApp ();
}
#endif
}
}