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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity Cloud Build not pulling latest files from git branch.

Discussion in 'Unity Build Automation' started by beaubutton, May 12, 2016.

  1. beaubutton

    beaubutton

    Joined:
    Nov 10, 2015
    Posts:
    1
    We are using unity cloud build with a git repo hosted at bitbucket. Our target is configured to auto build from the test branch and we have library caching disable. We recently went through some of our artwork and optimized the files to reduce overall size (manually). The optimized artwork was committed to the repo (same file names) and push to test at bit bucket. Unity cloud build kicks off successfully, however it is still showing the old file sizes. I've started the build with the "Clean" option (drop down) but it still seems to have the old files somehow.
     
  2. doggan

    doggan

    Joined:
    Aug 12, 2012
    Posts:
    23
    We did a Unity Cloud Build yesterday from master. The git SHA in the build logs reported that it was using the latest code, but in actuality the downloaded build (via the share URL) was from about 1 week ago. We started another build (with the same settings) immediately afterwards, and that build was correct. Not sure if it is related to the issue reported above, but it is a very big problem.
     
  3. ableRex_358

    ableRex_358

    Joined:
    Aug 20, 2014
    Posts:
    11
    I just experienced this too, for the first time. Changes I made, committed and pushed 10 hours ago were not used by cloud build that started 9 hours ago. Instead it had used something like 8 commits ago-version to build. Now that immediately kicked of a new build, it says no changes while it is building. I re-organized build setting the list of scenes to better order but nothing big else.
     
  4. ableRex_358

    ableRex_358

    Joined:
    Aug 20, 2014
    Posts:
    11
    The new build changed from no changes to 1 file and build from the latest commit. I guess something was fixed between the two builds. I did not change anything.
     
  5. KristianDoyle

    KristianDoyle

    Joined:
    Feb 3, 2009
    Posts:
    63
    I had the problem about a week ago, for about a week, Unity cloud just wasn't pulling down changes to my git repo. I kept working on my cloud project anyhow and kept pushing updates. For about a week. Then strangely I got a build fail - unity internal, support was looking into it .. Then it started working again on my next build. - pulled down about 100 files I'd worked on, build success.
    Now I've got something else strange going on with a few files that just aren't getting updated. I think. I wonder if it's related.
    Would be nice to have some way to view the files and date / time info on the Unity cloud side to check what's going on when this sort of thing happens. Maybe you already can. It's a bit of a blind spot as far as I can tell.