一个小示例项目,展示了 AssetBundles 能如何减少您的 Unity 项目的运行时内存。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

868 B

AddressablesMemoryOptimizations

Official Unity Blog post

A small sample project demonstrating how organized AssetBundles can reduce your Unity project's runtime memory.

Included is an example scene demonstrating memory consumption with/without Addressables. Also included is a modified version of an Addressables AnalyzeRule that outputs fewer AssetBundles by assigning grouped labels for de-duplicated assets that have the same set of AssetBundle parents that are dependent on them. Fewer bundles loaded at runtime = less SerializedFile memory consumed for AssetBundle metadata.

The modified AnalyzeRule can be viewed here.