Hi guys,
I just made an Android release build and tested it on the device. Everything works fine.
But after uploading it to google and putting the build into beta and downloading it from there it crashes at start.
Yes I use things like Google Analytics and AdMob, but all with up to date libraries and like I said, it works fine before google messes with it.
Here is the Exception:
I/Unity (29071): NullReferenceException: Object reference not set to an instance of an object
I/Unity (29071): at ExplainBadge+c__Iterator7.MoveNext () [0x00000] in :0
I/Unity (29071): at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in :0
I/Unity (29071): UnityEngine.MonoBehaviour:StartCoroutine(String, Object)
I/Unity (29071): UnityEngine.MonoBehaviour:StartCoroutine(String)
I/Unity (29071): ExplainBadge:goTalk()
I/Unity (29071): ExplainBadge:talk(String, GameObject, Boolean)
I/Unity (29071): ExplainBadge:talk(String[], GameObject, Boolean)
I/Unity (29071): IntroManager:Start()
I also tried using IL2CCP as scripting backend, but to no success. It fails at build:
Failed running /Users/pitsch.a/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/clang++ -o "Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so.debug" -Wl,-soname,libil2cpp.so.debug --sysroot "/Users/pitsch.a/android-ndk-r10e/platforms/android-9/arch-arm" -gcc-toolchain "/Users/pitsch.a/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -shared -fuse-ld=gold -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp-firstpass_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp_2.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp_3.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Assembly-CSharp_4.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_2.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_3.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_4.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_5.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_6.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_7.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_8.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Generics_9.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Mono.Security_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_Mono.Security_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_OSCsharp_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_System.Core_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_System_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_System_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_TUIOsharp_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine.Analytics_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine.UI_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine.UI_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine_2.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_UnityEngine_3.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_2.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_3.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_4.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_5.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_6.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Bulk_mscorlib_7.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/GenericMethods0.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/GenericMethods1.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppAttributes.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppCodeRegistration.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppCompilerCalculateTypeValuesTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppDelegateWrappersManagedToNativeTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGenericClassTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGenericInstDefinitions.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGenericMethodDefinitions.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGenericMethodPointerTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGenericMethodTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppGuids.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppInvokerTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppMarshalingFunctionsTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppMetadataRegistration.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppMetadataUsage.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppMethodPointerTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppReversePInvokeWrapperTable.o" "Temp/StagingArea/Il2Cpp/il2cppOutput/armeabi-v7a/Il2CppTypeDefinitions.o" -L "/Applications/Unity/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Release/StaticLibs/armeabi-v7a" -lil2cpp -lbdwgc -L "/Users/pitsch.a/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9590: error: undefined reference to 'GADURelease'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9936: error: undefined reference to 'GADUSetAdLoaderCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9888: error: undefined reference to 'GADUCreateAdLoader'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9590: error: undefined reference to 'GADURelease'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9936: error: undefined reference to 'GADUSetAdLoaderCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9590: error: undefined reference to 'GADURelease'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9919: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9590: error: undefined reference to 'GADURelease'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9473: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9508: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9491: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9521: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9530: error: undefined reference to 'GADUSetGender'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9539: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9577: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9919: error: undefined reference to 'GADURequestNativeAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10065: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10078: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9625: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9603: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9625: error: undefined reference to 'GADUCreateSmartBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9603: error: undefined reference to 'GADUCreateBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9663: error: undefined reference to 'GADUSetBannerCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9699: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9699: error: undefined reference to 'GADURequestBannerAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9681: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9681: error: undefined reference to 'GADUShowBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9672: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9672: error: undefined reference to 'GADUHideBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9690: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9690: error: undefined reference to 'GADURemoveBannerView'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10065: error: undefined reference to 'GADUSetNativeCustomTemplateAdUnityClient'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10078: error: undefined reference to 'GADUSetNativeCustomTemplateAdCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10041: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10055: error: undefined reference to 'GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10041: error: undefined reference to 'GADUNativeCustomTemplateAdAvailableAssetKeys'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10055: error: undefined reference to 'GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9945: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9945: error: undefined reference to 'GADUNativeCustomTemplateAdTemplateID'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9967: error: undefined reference to 'GADUNativeCustomTemplateAdImageAsBytesForKey'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9993: error: undefined reference to 'GADUNativeCustomTemplateAdStringForKey'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10028: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10028: error: undefined reference to 'GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10015: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:10015: error: undefined reference to 'GADUNativeCustomTemplateAdRecordImpression'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9473: error: undefined reference to 'GADUCreateRequest'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9491: error: undefined reference to 'GADUAddTestDevice'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9508: error: undefined reference to 'GADUAddKeyword'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9521: error: undefined reference to 'GADUSetBirthday'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9530: error: undefined reference to 'GADUSetGender'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9539: error: undefined reference to 'GADUTagForChildDirectedTreatment'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9556: error: undefined reference to 'GADUSetExtra'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9577: error: undefined reference to 'GADUSetRequestAgent'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9712: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9750: error: undefined reference to 'GADUSetInterstitialCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9759: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9769: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9778: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9787: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9801: error: undefined reference to 'GADURewardBasedVideoAdReady'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9811: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9824: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9865: error: undefined reference to 'GADUSetRewardBasedVideoAdCallbacks'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9712: error: undefined reference to 'GADUCreateInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9778: error: undefined reference to 'GADURequestInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9759: error: undefined reference to 'GADUInterstitialReady'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9769: error: undefined reference to 'GADUShowInterstitial'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9787: error: undefined reference to 'GADUCreateRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9824: error: undefined reference to 'GADURequestRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9811: error: undefined reference to 'GADUShowRewardBasedVideoAd'
Temp/StagingArea/Il2Cpp/il2cppOutput/Bulk_Assembly-CSharp_1.cpp:9801: error: undefined reference to 'GADURewardBasedVideoAdReady'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.c__AnonStorey2:<>m__6(TargetArchCompilerSettings)c__AnonStorey7C`1:<>m__11A(Object) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)
This puts the whole release to danger and it's work for a client.
Can anybody help me?
EDIT: It's with 5.3 and 5.4!
Thanks!
Andi
↧