이 페이지에서는 Play Asset Delivery를 사용하는 Unity Android 애플리케이션 컨텍스트에서 에셋 팩이 작동하는 방법을 설명합니다.
Unity를 다음과 같이 설정하여 기본 모듈과 에셋 팩으로 분할된 애플리케이션을 포함하는 Android 앱 번들 (AAB)을 생성할 수 있습니다.
Unity가 자동으로 생성한 에셋 팩을 따라 자체 커스텀 에셋 팩도 만들 수 있습니다. 이는 에셋 팩에 포함된 에셋 종류를 제어해야 할 때 유용합니다. Unity는 커스텀 에셋 팩을 최종 AAB에 추가합니다. 자세한 내용은 커스텀 에셋 팩을 참조하십시오.
에셋 팩에는 다운로드 크기 제한이 있습니다. 이를 고려하기 위해 Unity는 추가 에셋 크기에 따라 에셋 팩이 생성되는 방법을 다음과 같이 변경합니다.
install-time
전송 모드를 사용하여 단일 에셋 팩으로 패킹합니다. 어떤 커스텀 에셋 팩도 만들지 않는 경우는 기기가 에셋 팩을 애플리케이션 설치의 일환으로 다운로드하고 사용자가 처음 애플리케이션을 실행할 때 모든 에셋을 사용할 수 있다는 의미입니다.
에셋이 스토리지를 1GB보다 더 많이 차지하는 경우 Unity는 스트리밍 에셋을 하나의 에셋 팩으로 추가하고 다른 모든 에셋은 다른 에셋 팩에 추가합니다. Unity는 install-time
전송 모드를 용량이 더 큰 에셋 팩에 할당하고 fast-follow
전송 모드는 용량이 더 작은 에셋 팩에 할당합니다.중요: 이 에셋 팩 중 하나가 Google Play Store가 허용한 크기 제한 용량을 초과하는 경우 Unity는 경고를 표시하지만 빌드를 중단하지는 않습니다. 또한 Unity는 에셋 팩 크기를 개별적으로 확인하며 커스텀 에셋 팩에 대한 크기 확인은 수행하지 않습니다. 즉 Unity가 생성한 에셋 팩이 Google Play Store 제한에는 맞지만 커스텀 에셋 팩과의 조합이 Google Play Store에 너무 큰 경우 Unity는 경고나 오류를 표시하지 않습니다.
Unity가 자동으로 생성한 에셋 팩의 경우 Unity는 전송 모드 변경을 지원하지 않습니다. 에셋 팩에 대한 전송 모드를 변경하고자 하는 경우 에셋으로 커스텀 에셋 팩을 생성해야 합니다.
특정 에셋 팩에 있는 비코드 리소스 종류를 제어하고자 하는 경우 커스텀 에셋 팩을 만들 수 있습니다. Unity가 생성한 에셋 팩과는 달리 커스텀 에셋 팩의 경우 전송 모드를 설정할 수 있습니다. 커스텀 에셋 팩을 만드는 경우 Google Play Store에는 에셋 팩에 대한 크기와 수량 제한이 있으므로 유의해야 합니다. 제한 사항에 대한 자세한 내용은 다운로드 크기 제한을 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.