Unity_Addressable_Build Profiling(構(gòu)建分析)
The Addressables build process always creates a .json log file that contains build performance information. You can find the log file in your project folder at?Library/com.unity.addressables/AddressablesBuildTEP.json
.
譯:Addressables 構(gòu)建過程始終會創(chuàng)建一個包含構(gòu)建性能信息的 .json 日志文件。您可以在項(xiàng)目文件夾中找到日志文件,網(wǎng)址為Library/com.unity.addressables/AddressablesBuildTEP.json
。
View the log file with the chrome://tracing tool in Google Chrome or another?Chromium-based browser.
譯:使用 Google Chrome 或其他基于Chromium的瀏覽器中的 chrome://tracing 工具查看日志文件

A sample log file displayed in chrome://tracing
To view the build profile:
譯:查看構(gòu)建配置文件
Open a?Chromium-based browser.譯:打開基于Chromium的瀏覽器
Enter?chrome://tracing?in the browser to open the?Trace Event Profiling Tool.譯:在瀏覽器中輸入chrome://tracing以打開Trace Event Profiling Tool
Click the?Load?button.譯:單擊加載按鈕
In the file browser, navigate to your Unity project’s?
Library/com.unity.addressables
?folder.譯:在文件瀏覽器中,導(dǎo)航到您的 Unity 項(xiàng)目的Library/com.unity.addressables
文件夾Open the?
AddressablesBuildTEP.json
?file.譯:打開AddressablesBuildTEP.json
文件
See?Unity Scriptable Build Pipeline?for more information about build performance logging.
譯:有關(guān)構(gòu)建性能日志記錄的更多信息,請參閱Unity Scriptable Build Pipeline