Develop/Unity

unity package manager에서 git을 이용한 패키지가 추가 안되는 이슈 해결

powdersnow 2025. 1. 15. 12:39
반응형
[Package Manager Window] Cannot perform upm operation: Unable to add package [https://github.com/Unity-Technologies/com.unity.demoteam.hair.git]:
  Error when executing git command. fatal: not in a git directory
 [UpmError_NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

 

 

어느 순간엔가 인하우스 패키지도 추가 안되고 github에서 배포하는것들도 안받아지는 문제가 생겼다.

git의 보안 업데이트 때문에 생긴 문제인데

터미널에 다음 명령어를 입력해준다.

git config --global --add safe.directory '*'
반응형