Unity_Addressable_Diagnostic tools(診斷工具)
Diagnostic tools
The Addressables packages provides the following tools for analyzing your Addressables setup, performance, and build results:
譯:Addressables 包提供以下工具,用于分析您的 Addressables 設(shè)置、性能和構(gòu)建結(jié)果:
Analyze tool: provides a set of utilities and reports that you can use to find and fix asset duplication and to see how the system packs the assets in your groups into bundles. The reports and utilities include the following (you can also create your own analyze rule classes to produce additional reports):譯:Analyze 工具:提供一組實(shí)用程序和報(bào)告,可用于查找和修復(fù)資產(chǎn)重復(fù)項(xiàng),并查看系統(tǒng)如何將組中的資產(chǎn)打包到捆綁包中。這些報(bào)告和實(shí)用程序包括以下內(nèi)容(您還可以創(chuàng)建自己的 Analyze Rule 類(lèi)來(lái)生成其他報(bào)告):
Check Duplicate Bundle Dependencies譯:檢查重復(fù) Bundle 依賴(lài)項(xiàng)
Check Resources to Addressable Duplicate Dependencies譯:檢查資源到 Addressable 重復(fù)依賴(lài)項(xiàng)
Check Scene to Addressable Duplicate Dependencies譯:檢查場(chǎng)景到 Addressable 重復(fù)依賴(lài)項(xiàng)
Bundle Layout Preview譯:Bundle 布局預(yù)覽
Event viewer: provides a runtime profile view of your Addressable operations, including asset loading and unloading.譯:事件查看器:提供運(yùn)行時(shí)配置文件視圖,顯示了您的 Addressable 操作,包括資產(chǎn)的加載和卸載。
Build layout report: describes how Addressables packs the assets in your groups into AssetBundles.譯:構(gòu)建布局報(bào)告:描述了 Addressables 如何將組中的資產(chǎn)打包成 AssetBundles。
Build profile log: provides a build-time profiling file that you can view in a Chromium-based browser.譯:構(gòu)建配置日志:提供一個(gè)構(gòu)建時(shí)間分析文件,您可以在基于 Chromium 的瀏覽器中查看。