Version: 2019.4
범위 지정 패키지 레지스트리
자동 충돌 해결

패키지 충돌

When you add a package to a project manifest, Unity considers that package a dependency of the project. However, a package can also have dependencies on other packages, which might create indirect dependencies in a project that uses this package.

직접 및 간접 패키지 종속성
직접 및 간접 패키지 종속성

In this example, if you install Package A and Package B in your project, then your project has direct dependencies on both Package A and Package B. However, if Package B also has a dependency on Package C, then your project also has an indirect dependency on Package C.

A conflict exists when a project has dependencies on a package with different versions. A conflict can only exist between two indirect dependencies, when neither is added explicitly in the dependencies of the project’s manifest file.

패키지 충돌을 해결하기 위해 Unity는 충돌되는 패키지의 버전 번호, 그리고 루트와 패키지 간의 종속성 레벨 숫자를 고려합니다. 다른 패키지 버전을 사용하고 싶으면 Unity 솔루션을 오버라이드할 수도 있습니다.

범위 지정 패키지 레지스트리
자동 충돌 해결