Search Unity

Unity's version control component has been upgraded to Plastic SCM.

[Solved] Cloud Build Failing for Collaborate project

Discussion in 'Unity Collaborate' started by Mulegames, Sep 29, 2016.

  1. Mulegames

    Mulegames

    Joined:
    Sep 27, 2016
    Posts:
    10
    I've been attempting to use Cloud Build with my team's Collaborate project for a few days now and can't get it to build successfully. There don't seem to be any actual compile or build errors, just an ambiguous error at the end:
    This has happened both building from the Web UI and from the Cloud Build GUI in Unity. We're using 5.4.1 and have a few larger asset packages from the store, though I don't believe so many that they should cause issue (Gaia and Fluvio being the largest).
     
  2. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    Hi guys,

    Looking into this now and will get back to you!
     
  3. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    Update: We think things are looking fine on Collaborate and are looking into the Cloud Build side of it. Since it's later in the day, it might be tomorrow before there's any more news. Thanks for your patience.
     
  4. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    Still investigating this. I'll post again when we have more info. Thanks.
     
  5. Mulegames

    Mulegames

    Joined:
    Sep 27, 2016
    Posts:
    10
    Thanks for the update! Can't wait to see this working so I can unload some of this baking!
     
    holliebuckets likes this.
  6. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    Hello again. Good news / bad news. The good news is that we believe we have determined the cause of this and it is a bug that at least a couple projects have hit, so a fix should be incoming. The bad news is that it may take some time for the fix to reach production.

    For now, I would recommend that you leave your project connected and once the fix reaches production, we'll check on it again. You may notice it suddenly build successfully. Do not be alarmed. :D
     
  7. Mulegames

    Mulegames

    Joined:
    Sep 27, 2016
    Posts:
    10
    Alright, sounds good. Thanks for the update!
     
  8. Goal043BV

    Goal043BV

    Joined:
    Mar 2, 2016
    Posts:
    3
    First of all, I am not trying to hijack this tread just trying to supply more information about this bug.

    We are experiencing (almost) the same issue as Mulegames on one of our projects.
    The project has successfully cloud build in the past, but after a project cleanup it stopped building on cloud build (still builds locally)

    during the cleanup we moved a plugin folder from the assets root towards a sub-folder, somehow this feels like the biggest change during the cleanup. might this be related to the bug?

    Thanks for keeping us updated!
     
  9. holliebuckets

    holliebuckets

    Moderator

    Joined:
    Oct 23, 2014
    Posts:
    496
  10. Goal043BV

    Goal043BV

    Joined:
    Mar 2, 2016
    Posts:
    3
    Yes in our log we got the same:
    Code (CSharp):
    1. 35265: ! build of 'default-webgl' failed. compile failed
    2. 35267: publishing finished successfully.
    3. 35268: done.
    4. 35269: Build step 'Execute shell' marked build as failure
    5. 35270: postbuildstatus finished successfully.
    6. 35271: Finished: FAILURE
    but since today this got added to the logs output:
    Code (CSharp):
    1. 35212: [Unity] Plugin 'libaudioplugingvrunity.so' is used from several locations:
    2. 35213: [Unity]  Assets/Brightlands Cardboard/Plugins/Android/libs/x86/libaudioplugingvrunity.so would be copied to <PluginPath>/libaudioplugingvrunity.so
    3. 35214: [Unity]  Assets/Brightlands Cardboard/Plugins/Android/libs/armeabi-v7a/libaudioplugingvrunity.so would be copied to <PluginPath>/libaudioplugingvrunity.so
    4. 35215: [Unity] Plugin 'libgvrunity.so' is used from several locations:
    5. 35216: [Unity]  Assets/Brightlands Cardboard/Plugins/Android/libs/x86/libgvrunity.so would be copied to <PluginPath>/libgvrunity.so
    6. 35217: [Unity]  Assets/Brightlands Cardboard/Plugins/Android/libs/armeabi-v7a/libgvrunity.so would be copied to <PluginPath>/libgvrunity.so
    7. 35218: [Unity] Please fix plugin settings and try again.
    submitted a bug for it (case number 843455)
     
  11. holliebuckets

    holliebuckets

    Moderator

    Joined:
    Oct 23, 2014
    Posts:
    496
    Cool thank you so much! I've pinged the Cloud Build team so we can work together on getting you back on track :)
     
  12. bitbutter

    bitbutter

    Joined:
    Jul 19, 2012
    Posts:
    60
    Trying Collaborate for the first time today, on a project that was previously building succesfully in Cloud Build. It's failing now the SCM is linked to Collaborate. The CB log I'm getting:

     
  13. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    @bitbutter: there was a small data problem on our end for some reason when your project was converted to Collab. I've manually fixed it up and you should be good to go.
     
    holliebuckets likes this.
  14. holliebuckets

    holliebuckets

    Moderator

    Joined:
    Oct 23, 2014
    Posts:
    496
    thank you so much @dannyd!! The Unity Cloud Build team is awesome!
     
  15. thatscraigz

    thatscraigz

    Joined:
    Mar 27, 2015
    Posts:
    100
    Hi friends! :D

    I just switched over my cloud build from a dedicated repo to Collaborate and have been unable do do cloud builds xD

    Any advice? It would mean a ton to me, been absolutely loving Cloud Build! :D

    I'm on Unity 5.5.0f3 locally and did a clean build online after switching the settings online.

    -craigz

    Code (CSharp):
    1. 1: Running Prebuild steps
    2. 2: In quiet period, build will start momentarily...
    3. 3: Agent pid 1401
    4. 4: All identities removed.
    5. 5: Removing bvr
    6. 6: Successfully uninstalled bvr-1.2.12
    7. 7: done.
    8. 8: bvr 1.5.18
    9. 9: bvr-api 0.3.3
    10. 10: prebuildstatus finished successfully.
    11. 11: All identities removed.
    12. 12: Could not open a connection to your authentication agent.
    13. 13: Agent pid 1881
    14. 14: BVR: SCM Checkout
    15. 15: Starting Unity Collab checkout process.
    16. 16: ! checkout failed. Collab Service INTERNAL: Unknown error
    17. 17: Build step 'Execute shell' marked build as failure
    18. 18: postbuildstatus finished successfully.
    19. 19: Finished: FAILURE
    20. 20:  
     
  16. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    @thatscraigz: looks like there was some bad data on our end after converting the project to collab - I think I've fixed it up. Let me know if you still can't build.
     
  17. thatscraigz

    thatscraigz

    Joined:
    Mar 27, 2015
    Posts:
    100
    Sorry for the late reply @dannyd ! You absolutely rock :D The good news is I believe it's fixed! The bad news is I've got some errors to fix ;D

    Have a great rest of the week!
     
  18. ev3d

    ev3d

    Joined:
    Apr 19, 2013
    Posts:
    327
    I am having this same error....
     
  19. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Build step 'Execute shell' marked build as failure

    ...
     
  20. unity-tuesday

    unity-tuesday

    Unity Technologies

    Joined:
    Aug 2, 2016
    Posts:
    42
    @ababab5 I'm happy to investigate for you, but I see you have quite a few projects! Please message me with the project ID in question, or submit a support ticket through your dashboard.
     
  21. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    Hi thanks for proposal.

    I find why, but I don't now how to fix it: it was because of the post process folder.

    I send you right now a message with my email.

    Cheers!
     
  22. ababab5

    ababab5

    Joined:
    Apr 15, 2014
    Posts:
    508
    I cannot write you a private message.

    Please contact me.

    Thanks!
     
  23. MacFBG

    MacFBG

    Joined:
    Jan 23, 2016
    Posts:
    18
  24. TheModdersDen

    TheModdersDen

    Joined:
    Jul 23, 2014
    Posts:
    6
    Having the same problem, but with the "Execute shell" stuff not being able to find a directory to put my game's build into it would seem. Any fix for this?
     
  25. SoullessKnight

    SoullessKnight

    Joined:
    Jun 26, 2017
    Posts:
    1
    Same issue here, would love a fix.
     
  26. ariessanchezsulit

    ariessanchezsulit

    Joined:
    Apr 3, 2017
    Posts:
    6
    hi @dannyd is the fixes for this still not integrated? I saw on your comments that you manually fix things per project, how is the fixes going? I would love to have a fix on this.
     
  27. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    @ariessanchezsulits88 - the issue originally mentioned in this thread was addressed a long time ago. If you are hitting other build errors, please start a new thread describing the problem.
     
  28. Katorium

    Katorium

    Joined:
    Dec 11, 2018
    Posts:
    3
    This issue still isn't fixed.
     
  29. StaceyH

    StaceyH

    Administrator

    Joined:
    Apr 11, 2018
    Posts:
    44
    @Katorium As @dannyd mentioned above, this issue was fixed a long time ago. It would be good to open a new thread on the Cloud Build section so that they can investigate.
     
  30. tchapman_lumineye

    tchapman_lumineye

    Joined:
    Sep 1, 2021
    Posts:
    10
    I don't like bringing up old threads, but this is the only thread I see pop up when searching for this issue. If anybody runs into this in the future like I did today in 2022, go to your cloud build dashboard and hit "Config>Edit Source Control Settings>Back" and then set up your VCS over again with the same info. Not sure why this worked, but likely has something to do with the aforementioned data problem earlier in this thread that probably gets reset when reconfiguring.