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

Question unity can't detect git even thought its in the PATH variable

Discussion in 'Package Manager' started by miccalisto, Mar 26, 2023.

  1. miccalisto

    miccalisto

    Joined:
    Feb 20, 2018
    Posts:
    40
    I installed git, added it to the PATH, closed unity and hub, opened them again and unity still shows me this error when trying to download a package via git repository.
    git.png
    This is in my PATH. Even by adding "git.exe" after "\cmd" it still didn't work. The git command works in command line and powershell though. What am I doing wrong?
    PATH.png
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,533
    You may have to reboot or sign out for PATH changes to take effect system-wide. Also the hub doesn’t quit by default when clicking X, it just goes back to the system tray as an icon.

    Btw PATH variables should not point to an actual file.
     
    maximeb_unity likes this.