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

Cannot build in Unity Cloud

Discussion in 'Unity Build Automation' started by liortal, Oct 7, 2014.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,555
    Hi,

    I have tried setting up our project to build in the cloud with no success yet.
    The failure reason is that it says that 2 files don't exist, even though they are part of the repository and the build runs just fine locally on a clean clone of the repo.

    Has anyone else encountered a similar issue?

    The people from support could not help me out any further...
     
  2. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,738
    You say the project runs fine on a clean clone - but does it build to the same platforms as you're building on UCB?

    I ask because I recently had an issue where a precompiler directive which was platform-dependent was causing a compile error to appear when building for the device; however, rather than UCB reporting that compile error, UCB told me instead that a (seemingly unrelated) script file did not exist.
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,555
    What do you mean the same platform ?

    On a clean clone it builds fine for Android, same as i am attempting in UCB.
     
  4. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,738
    OK, that's all I was asking.
     
  5. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    If you can not build your game please test the service first with an empty project before using it with your full equipped project. In many cases the builds fail due to misconfigured plugins or frameworks - like iOS plugins used in Android or similar.
     
  6. DNSavar

    DNSavar

    Joined:
    Jun 21, 2010
    Posts:
    16
    I had this problem. It happened when I moved and renamed 2 scripts files. For a unknown reason, the build machine started to say these script files were missing... So, I tried to rename them, to move then, to remove the "asset cache", nothing worked.

    The only way I was able to fix the issue, was when I renamed and moved again these files and it finally works...