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
0
Question by LW · Sep 24, 2019 at 07:43 PM · packageassemblymanagergitgithub

No Git Executable Was Found

Hey hey,

Whenever I add a package now from a git repo I receive the same error:

Project has invalid dependencies
Not 'git' executable was found. Please install Git on your system and restart Unity.

Git has been installed on the machine for a long, long time, but I reinstalled just to be certain I didn't miss anything and to make sure the cmd was added to the system PATH variable.
Tried with github (public repo) and bitbucket.

Still no luck.

Anyone have ideas on this?

I would appreciate it!

Thanks,
(Using 2019.1.7)

Comment
Add comment · Show 2
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 Mouton · Sep 24, 2019 at 10:44 PM 0
Share

What system ? Windows I presume ? Got should be embedded within Unity install. Did you mess with Unity directories ?

To install git, don't use any third-party installer such as github for windows and such, they use modified binaries that can mess with Unity. The direct link to Git for Windows here: https://git-scm.com/download/win

avatar image LW · Sep 25, 2019 at 10:08 AM 0
Share

Yes, @$$anonymous$$outon i installed directly from git-scm and I’m on Windows. Default Unity install (which should not affect its ability to use system git).

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Mouton · Sep 25, 2019 at 12:23 PM

So, the problem was all about Git and PATH environment variable. Here is a good StackOverflow answer which gives more details on Git PATH on Windows: https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows/34767523#34767523


Former comment

A few ideas:

  • Try to run Unity with Administrator privileges (if this work, your user PATH is messed up, or you have wrong user permissions)

  • Do you run Windows 10 or a former version ?

  • Do you run a NT version of Windows with strategy rules ? Check if they don't block

  • Did you try with another version of Unity ?

  • Can you copy-paste your PATH environment variable ?

  • What does git or git.exe returns when executed from cmd.exe ? from powershell ?

Comment
Add comment · Show 3 · 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 LW · Sep 25, 2019 at 07:17 PM 0
Share

I found the error @$$anonymous$$outon by checking what you said. The Git install only added the Git cmd not the Git exe to the PATH. When I added it, it worked.

  • can't see how to mark your comment as the correct answer so if you post your comment into an answer I will mark it as the correct answer.*

For any else who encounter this issue, the Git exe must also be specified in the PATH and the Windows installer middle option (install into Windows shell) doesn't do that. I had to add it manually.

avatar image Mouton LW · Sep 25, 2019 at 07:28 PM 0
Share

Done ! Glad I could help you ! :)

avatar image Jinxology · Oct 02, 2020 at 01:36 AM 1
Share

Just throwing this out, I also had to reboot before it worked.

avatar image
0

Answer by azizkale · Mar 14 at 04:45 PM

In my case git.exe and git-lfs.exe files were in different Folder (C:\Program Files\Git\cmd) I showed the new related paths in unity and pushed the button Find System Git. and it worked.

alt text


adsız.png (53.3 kB)
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

113 People are following this question.

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

Related Questions

What is "PREVIEW PACKAGES IN USE" 4 Answers

Question about Unity Package Manager System and GITHUB. 0 Answers

How to reference class from Runtime asmdef in Editor asmdef from within a local unity package? 1 Answer

Can't see "My Registries" window after i implement Firebase Scoped Registry! 0 Answers

Make git ignore *_Data/ build output 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