Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by radwaniecki · Nov 05, 2015 at 09:09 PM · buildcloudgit

Unity Cloud Build with git submodule

Hey,

I'm trying to build unity project which uses a git submodule. Both main repository and submodule have SSH keys set. Every time Cloud Build is trying to build the project, I get an error:

remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile. 17: fatal: Authentication failed

I've tried to set up several projects with different submodules. Each time I get the same result. Is Cloud Build at all compatible with git submodules? Did I miss some settings somewhere?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image radwaniecki · Nov 17, 2015 at 09:22 PM 0
Share

Solution: http://forum.unity3d.com/threads/git-submodule-authentication-failed.344591/

2 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by Jinja · Sep 25, 2016 at 01:46 PM

I found the answer in these threads... https://community.unity.com/t5/Unity-Cloud-Build/Support-for-Git-submodules/td-p/2500670 https://community.unity.com/t5/Unity-Cloud-Build/GIT-Submodule-Authentication-failed/m-p/2303870#M6806

You need to change your git repo link in your .gitmodules file to the git@ syntax instead of git:// or https:// For example...

git@bitbucket.org:youraccount/yourrepo.git

After this change my cloud build started working again. Good luck!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image k76 · Apr 14, 2017 at 01:33 AM 0
Share

This worked for me. Thanks!

$$anonymous$$ake sure to also add Unity Cloud Build's SSH key (the one used for the parent repo) to the submodule as well so it can get access.

avatar image visca_c · May 03 at 10:41 PM 0
Share

thanks for the answer, this helped me!

avatar image
-1

Answer by Jinja · Sep 27, 2016 at 10:37 AM

I get the same error now that I've added a submodule to my repo'. Like @radwaniecki I added the SSH key to the submodule repo' too but it didn't help. Both of my repo's are on bitbucket.

Has anybody managed to get a submodule working with Unity Cloud Build?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I use Git recursive submodules with Unity Cloud Build? 0 Answers

Distribute terrain in zones 3 Answers

Is the Cloud Build API key machine specific? 0 Answers

Unity Cloud Build setup splash screen 0 Answers

Unity 2017.3.1f1 Cloud Build Deadlock with Unit Testing and .NET 4.6 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges