Search Issue Tracker

Fixed in 5.5.1

Votes

2

Found in

5.5.0f3

Issue ID

857296

Regression

Yes

[Android] [iOS] Installation fails with exception: IL2CPP.exe did not run properly

IL2CPP

-

Steps to reproduce:

1) Download attached project 'New Unity Project 3.zip' and open in Unity
2) Switch platform to Android
3) Make sure Scripting Backend is set to IL2CPP
4) Build and Run on a device

Note: Installation will fail with exception (see attached image) if the UnityADS service is enabled and the using directive "using UnityEngine.Advertisements" is called by a script

Reproduced with: 5.5.0p1, 5.6.0a6

Note: Works fine with Mono2x

-----------------------
Fixed in: 5.5.4p2

Comments (1)

  1. Zeeshi431

    May 21, 2019 08:15

    I cant resolve this issue !!!

    Failed running C:\Program Files\Unity2018.2.1f1\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="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --cachedirectory="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Assets\..\Library\il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="C:\Program Files\Unity2018.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:\Program Files\Unity2018.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Program Files/android-ndk-r13b" --map-file-parser="C:\Program Files\Unity2018.2.1f1\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp-firstpass.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing
    Tracks\Temp\StagingArea\assets\bin\Data\Managed\Assembly-CSharp.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\Assembly-UnityScript.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.UI.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.Analytics.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\mscorlib.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\Stores.dll" --assembly="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.Purchasing.dll" --generatedcppdir="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain
    Output directory: D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
    Cache directory: D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
    ObjectFiles: 555 of which compiled: 0
    Total compilation time: 191 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Program Files\android-ndk-r13b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\Zeeshan\AppData\Local\Temp\tmpB11A.tmp" -o "D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_D73AB5827B76E16923FA9BF5A6AD7907\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "C:\Program Files\android-ndk-r13b\platforms\android-16\arch-arm" -gcc-toolchain "C:\Program Files\android-ndk-r13b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64" -target armv7-none-linux-androideabi -Wl,--wrap,sigaction -L "C:\Program Files\android-ndk-r13b\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a" -lgnustl_static -llog -Xlinker -Map="D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_D73AB5827B76E16923FA9BF5A6AD7907\libil2cpp.map" -rdynamic -fuse-ld=bfd.exe

    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetNativeCustomTemplateAdUnityClient_m1419680182':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17640: undefined reference to `GADUSetNativeCustomTemplateAdUnityClient'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetNativeCustomTemplateAdCallbacks_m3188007605':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17654: undefined reference to `GADUSetNativeCustomTemplateAdCallbacks'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetNativeCustomTemplateAdUnityClient_m1419680182':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17640: undefined reference to `GADUSetNativeCustomTemplateAdUnityClient'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetNativeCustomTemplateAdCallbacks_m3188007605':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17654: undefined reference to `GADUSetNativeCustomTemplateAdCallbacks'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdAvailableAssetKeys_m1788039904':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17618: undefined reference to `GADUNativeCustomTemplateAdAvailableAssetKeys'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys_m1117208366':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17629: undefined reference to `GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdAvailableAssetKeys_m1788039904':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17618: undefined reference to `GADUNativeCustomTemplateAdAvailableAssetKeys'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys_m1117208366':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17629: undefined reference to `GADUNativeCustomTemplateAdNumberOfAvailableAssetKeys'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdTemplateID_m3753635689':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17517: undefined reference to `GADUNativeCustomTemplateAdTemplateID'
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17517: undefined reference to `GADUNativeCustomTemplateAdTemplateID'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdImageAsBytesForKey_m3350611929':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17540: undefined reference to `GADUNativeCustomTemplateAdImageAsBytesForKey'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdStringForKey_m3840630979':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17567: undefined reference to `GADUNativeCustomTemplateAdStringForKey'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdPerformClickOnAssetWithKey_m880430736':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17604: undefined reference to `GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17604: undefined reference to `GADUNativeCustomTemplateAdPerformClickOnAssetWithKey'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUNativeCustomTemplateAdRecordImpression_m1752994388':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17590: undefined reference to `GADUNativeCustomTemplateAdRecordImpression'
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17590: undefined reference to `GADUNativeCustomTemplateAdRecordImpression'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUCreateRequest_m1943392635':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17016: undefined reference to `GADUCreateRequest'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUAddTestDevice_m3931502363':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17031: undefined reference to `GADUAddTestDevice'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUAddKeyword_m1638084446':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17049: undefined reference to `GADUAddKeyword'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetBirthday_m1094448719':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17063: undefined reference to `GADUSetBirthday'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetGender_m3773746763':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17073: undefined reference to `GADUSetGender'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUTagForChildDirectedTreatment_m3246115415':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17083: undefined reference to `GADUTagForChildDirectedTreatment'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetExtra_m3465982342':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17101: undefined reference to `GADUSetExtra'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetRequestAgent_m3888672552':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17123: undefined reference to `GADUSetRequestAgent'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADURelease_m287673818':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17137: undefined reference to `GADURelease'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUCreateBannerView_m984796951':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17151: undefined reference to `GADUCreateBannerView'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUCreateSmartBannerView_m3319878275':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17170: undefined reference to `GADUCreateSmartBannerView'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUSetBannerCallbacks_m1412035504':
    D:\Games\Unity Projects\Katchup Games\Impossible GT Car Stunt Racing Tracks\Temp\StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_1.cpp:17205: undefined reference to `GADUSetBannerCallbacks'
    D:/Games/Unity Projects/Katchup Games/Impossible GT Car Stunt Racing Tracks/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/375FA23A6795E8CD4E41613602DC20E2.o: In function `Externs_GADUHideBannerView_m3157005984':

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.