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

Cloud build with git submodule

Discussion in 'Unity Build Automation' started by DantaliaN, May 22, 2016.

  1. DantaliaN

    DantaliaN

    Joined:
    Oct 7, 2012
    Posts:
    18
    I trying to build project from bitbucket repo with some submodule inside.
    About 2 weeks ago everything works good. But now, project do not compile b/c classes from submodule not found.

    Don't see any attemp to download submodule inside full log..

    If I copy submodule inside main repo everything ok.

    Help please

    Sorry for my eng ><"
     
  2. DantaliaN

    DantaliaN

    Joined:
    Oct 7, 2012
    Posts:
    18


    here some test with old project. Nothing changed.. Same commit ID.
     
  3. ehafenmaier

    ehafenmaier

    Joined:
    Nov 18, 2012
    Posts:
    2
    I'm going to throw our hat into this ring as well. Our project has a submodule reference that has been building successfully until recently. Last successful build was 8 days ago. Both the main project and submodule are hosted in bitbucket repos using ssh to connect. Things we've tried so far...
    • Deleted and recreated the ssh key in the UCB project settings and added it to the bitbucket account
    • Changed the target from "Latest 5.x" to a specific version "5.3.2f1"
    • Disabled caching of the Library
    Looking through the logs of all the failed builds shows the submodule not getting pulled and the errors refer to namespaces not being found (from the submodule). Any help with this would be greatly appreciated.

    Screen Shot 2016-05-22 at 8.00.10 AM.png

    Thanks,

    Erich
     
  4. luke-avery

    luke-avery

    Joined:
    May 6, 2015
    Posts:
    11
    ehafenmaier likes this.