Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cloud build 2019.4 Android stuck on Invoking il2cpp

Discussion in 'Unity Build Automation' started by Nieles_GH, Jun 23, 2020.

  1. Nieles_GH

    Nieles_GH

    Joined:
    Jun 26, 2017
    Posts:
    57
    We are busy with upgrading our project from 2019.1 to 2019.4 and locally I got everything running and I can create a build. But the Cloud builds are getting stuck here:

    [Unity] DisplayProgressbar: IL2CPP
    [Unity] DisplayProgressbar: Building Player
    [Unity] /UNITY_PATH/Unity/macos/published/Unity-2019_4_1f1/Unity.app/Contents/il2cpp/build/deploy/net471/UnityLinker.exe exited after 24283 ms.
    [Unity] /UNITY_PATH/Unity/macos/published/Unity-2019_4_1f1/Unity.app/Contents/Tools/InternalCallRegistrationWriter/InternalCallRegistrationWriter.exe exited after 505 ms.
    [Unity] Invoking il2cpp with arguments: --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="/BUILD_PATH/studio.game.nqygj5yf/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so" --cachedirectory="/BUILD_PATH/studio.game.nqygj5yf/Assets/../Library/il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="/UNITY_PATH/Unity/macos/published/Unity-2019_4_1f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/UNITY_PATH/Unity/macos/published/Unity-2019_4_1f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/UNITY_PATH/Unity/android/ndk-r19" --enable-debugger --profiler-report --map-file-parser="/UNITY_PATH/Unity/macos/published/Unity-2019_4_1f1/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --directory="/BUILD_PATH/studio.game.nqygj5yf/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="/BUILD_PATH/studio.game.nqygj5yf/Temp/StagingArea/Il2Cpp/il2cppOutput"


    It hangs there for several hours and then the build cancels itself with:

    java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    Build was canceled
    Build step 'Execute a set of scripts' marked build as failure
    Finished: CANCELED


    ********************************************************************************
    This build was automatically canceled by the Cloud Build service. This usually
    happens when log output stops for an extended period of time. If you suspect
    this is due to a problem with the Cloud Build service, please contact support.
    https://developer.cloud.unity3d.com/support/
    ********************************************************************************
     
    Last edited: Jun 23, 2020
  2. RDeluxe

    RDeluxe

    Joined:
    Sep 29, 2013
    Posts:
    117
    Got the same issue. It works locally but hangs forever at this point in Cloud Build
     
  3. christokkies

    christokkies

    Joined:
    Apr 8, 2020
    Posts:
    13
    Having the same issue, iOS works fine, both locally and on Unity Cloud. Android build works fine locally. But Android on Unity Cloud Build hangs here.

    Anybody find a solution?