Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Project Subdirectory and unrecognized project

Discussion in 'Unity Build Automation' started by rayfigs, Apr 6, 2015.

  1. rayfigs

    rayfigs

    Joined:
    Feb 8, 2009
    Posts:
    41
    I've set up a project in bitbucket the repo is called "Coin Dozer" which has my unity project called "Coin Dozer". When trying to do a build I get this error:


    Here is the full build log




    I've tried the following Project Folder Path configurations:
    Coins Dozer/
    Coin Dozer/Coin Dozer
    //Coin Dozer/
    //Coin Dozer/Coin Dozer/

    I've noticed that the project name in the image above is "coin-dozer" when the project name in my repo is actually " Coin Dozer" does that matter at all?


    Any pointers on how to get around this error?

    Many thanks,
    Reinaldo
     
  2. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    743
    No the name is just generated from your git repository name which seems to be coin-dozer.

    git@bitbucket.org:gamingirls/coin-dozer.git

    If you have a subfolder which needs to be added in the configuration page it would be

    Coins Dozer/

    for your folder structure on bitbucket

    git@bitbucket.org:gamingirls/coin-dozer.git/Coins Dozer/

    Would it be possible for you to try it without a space and let us know if it works then?
     
  3. rayfigs

    rayfigs

    Joined:
    Feb 8, 2009
    Posts:
    41
    Removed the space and caps, made repo name "coin-dozer" and it looks to be building.

    Thanks,
    Reinaldo
     
  4. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    743
    Thanks for the input, so bitbucket replaces spaces with - in the repository name which leads to this problem.
     
  5. Poemind

    Poemind

    Joined:
    May 25, 2011
    Posts:
    30
    I'm dealing with this right now. I know that this is an old post, but Unity Cloud build, when I try to change the path as above - git@bitbucket.org:gamingirls/coin-dozer.git/Coins Dozer/
    Seems to want to add an extra .git to the end like:
    git@bitbucket.org:gamingirls/coin-dozer.git/Coins Dozer.git
    And then I get an error.
    But no matter what do to try to add it it keeps doing this.
     
  6. Danielpunct

    Danielpunct

    Joined:
    May 9, 2013
    Posts:
    16
    I just stumbled upon this feature on the setting dashboard



    use the Edit Basic Info button, should fix it
     
  7. theQ

    theQ

    Joined:
    Oct 2, 2012
    Posts:
    9
    Ok, I realize this is old but having a hard time. So my project is hosted at: git@bitbucket.org:brightblueq/stark_repo.git

    I’ve tried the folllowing paths and nothing is working. What am I missing?

    brightblueq/stark_repo
    brightblueq/
    brightblueq/stark_repo.git
    brightblueq/stark-repo
    brightblueq/stark_repo/

    And various longer paths down the scr chain. Nothing seems to work.

    What am I missing?