Version: 2023.2
언어: 한국어
전역 캐시
네트워크 문제 해결

설정

이 섹션에서는 패키지 관리자에 대해 다음을 설정하는 방법을 보여줍니다.

또한 설정 파일에서 패키지 관리자 설정 파일의 위치를 찾을 수 있습니다.

설정 파일

패키지 관리자는 두 가지 설정 파일, 즉 전역 설정 파일과 사용자 설정 파일을 지원합니다. 이 두 파일은 모두 TOML 포맷을 사용하며, 서로 다른 위치에 나타납니다.

  • 전역 설정 파일은 컴퓨터의 모든 사용자에게 적용됩니다. 예를 들어 전체 시스템에 대한 프록시 서버를 설정할 때 추가 SSL 인증서 권한을 정의할 수 있습니다.
  • 사용자 설정 파일은 단일 사용자에게 적용됩니다. 예를 들어 범위 지정 레지스트리로 액세스하는 커스텀 패키지 레지스트리 서버에 사용할 인증 토큰을 설정할 수 있습니다. 이 토큰은 특정 사용자 계정을 인증합니다.

전역 설정 파일 위치

패키지 관리자는 upmconfig.toml이라는 전역 설정 파일을 사용합니다.이 파일은 Unity Hub나 에디터를 설치할 때 생성되지 않지만, 설정을 커스터마이즈해야 하는 경우 다음 위치에 생성할 수 있습니다.

환경: 위치:
Windows %ALLUSERSPROFILE%\Unity\config\upmconfig.toml(예: C:\ProgramData\Unity\config\upmconfig.toml)
macOS 및 Linux /etc/upmconfig.toml

You can define a custom location that overrides the default location for your configuration file. To do this, create a UPM_GLOBAL_CONFIG_FILE environment variable and set its value to the absolute path of your configuration file, including the file name.

사용자 설정 파일 위치

패키지 관리자는 .upmconfig.toml이라는 사용자 설정 파일을 사용합니다.이 파일은 Unity Hub나 에디터를 설치할 때 생성되지 않지만, 설정을 커스터마이즈해야 하는 경우 다음 위치에 생성할 수 있습니다.

환경: 위치:
Windows(사용자 계정) %USERPROFILE%\.upmconfig.toml (예: C:\Users\myusername\.upmconfig.toml)
Windows(시스템 사용자 계정) %ALLUSERSPROFILE%\Unity\config\ServiceAccounts\.upmconfig.toml (예: C:\Users\Public\Unity\config\ServiceAccounts\.upmconfig.toml)
macOS 및 Linux ~/.upmconfig.toml (예: /Users/myusername/.upmconfig.toml)

You can define a custom location that overrides the default location for your configuration file. To do this, create a UPM_USER_CONFIG_FILE environment variable and set its value to the absolute path of your configuration file, including the file name.

전역 캐시
네트워크 문제 해결