Unity_Addressable_Build Profiling(构建分析)
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 构建过程始终会创建一个包含构建性能信息的 .json 日志文件。您可以在项目文件夹中找到日志文件,网址为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:
译:查看构建配置文件
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.译:在文件浏览器中,导航到您的 Unity 项目的Library/com.unity.addressables
文件夹Open the
AddressablesBuildTEP.json
file.译:打开AddressablesBuildTEP.json
文件
See Unity Scriptable Build Pipeline for more information about build performance logging.
译:有关构建性能日志记录的更多信息,请参阅Unity Scriptable Build Pipeline