Game Engine/Unity

No Git Unity Package Manager Error 오류 문제 해결하기

OneSeat 2025. 3. 31.
반응형

🧱 사양

Windows 10

 

💼 서론

Unity Package Manager Error 중에 아래와 같은 문제가 발생할 때가 있습니다.

An error occurred while resolving packages:
Project has invalid dependencies:
com.: No 'git' executable was found
Please install Git on your system then restart Unity and Unity Hub
com.: No 'git' executable was found. 
Please install Git on your system then restart Unity and Unity Hub 
io.: No 'git' executable was found.
Please install Git on your system then restart Unity and Unity Hub
Click on Retry to relaunch Unity and reopen your project.
Click on Continue to launch Unity. Some or all packages may not be imported which may cause compilation errors.

 

💡 Git 재설치하기

Git 홈페이지에서 Git을 다시 설치합니다.

https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. Latest source Release 2.49.0 Release Notes (2025-03-14) Download Source Code GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but ther...

git-scm.com

 

Git이 설치되어 있으나 기본 경로에 세팅되어 있지 않고 다른 경로에 Git이 설치되어 있을 경우 발생할 수 있습니다.

대표적으로 컴퓨터에서 Git을 설치하기 전에 SourceTree를 설치하면서 발생할 수 있는데요. SourceTree 설치 과정에는 Git을 선택하여 함께 설치를 진행할 수 있는 과정이 포함되어 있습니다. 그런데 SourceTree 설치 과정에 Git을 설치할 경우 경로가 달라 Git을 찾지 못해 해당 오류가 발생할 수 있습니다. 

반응형

댓글