Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Android builds are failing in Unity Cloud Build Unity 2020.3.34f1 and above

Discussion in 'Unity Build Automation' started by fiveampsoftware, Jul 26, 2022.

  1. fiveampsoftware

    fiveampsoftware

    Joined:
    Feb 9, 2015
    Posts:
    33
    We have been seeing a lot of constant crashes in our project regarding Android and Unity 2020.3.34f1. Previously we have had successful builds prior to July 25th.

    We believe this is a Unity cloud build issue as the differences between commits were prefab changes and non-build code features.

     
  2. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    243
    Are you running a pre-build script by any chance?
     
  3. fiveampsoftware

    fiveampsoftware

    Joined:
    Feb 9, 2015
    Posts:
    33
    yes we are - but this has to do with texture packing and other asset prep not relating to Android libraries.

    We haven't touched the pre build script since last time we have successfully built, only changes were prefabs and gameplay code changes. Unity version stayed the same - our last successful build was July 24th.
     
  4. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    243
    Could you try running your build again and let me know if the issue still persists? If it does then I'll need to do some digging on my end as to what else could be causing your problem.
     
    fiveampsoftware likes this.
  5. fiveampsoftware

    fiveampsoftware

    Joined:
    Feb 9, 2015
    Posts:
    33
    yep that has fixed it - our last build was a success now. What was the change or do we need to keep anything in mind when going forward?
     
  6. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    243
    Nothing for you to worry about. It was on our end. We had deployed a change to enable us to better test spawned processes on our build agents. A part of that impacted how we set the proxy values when running pre/post build scripts. Based on your answers we were able to narrow down the line of code that caused the issue and resolve the error. I do apologize for any issues this may have caused you. If you run into any other problems don't hesitate to reach out.