欢迎光临散文网 会员登陆 & 注册

Unity_Addressable_Build Profiling(构建分析)

2023-04-06 10:38 作者:unity_某某师_高锦锦  | 我要投稿

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 工具查看日志文件

一个示例日志文件显示在chrome://tracing

A sample log file displayed in chrome://tracing

To view the build profile:

译:查看构建配置文件

  1. Open a Chromium-based browser.译:打开基于Chromium的浏览器

  2. Enter chrome://tracing in the browser to open the Trace Event Profiling Tool.译:在浏览器中输入chrome://tracing以打开Trace Event Profiling Tool

  3. Click the Load button.译:单击加载按钮

  4. In the file browser, navigate to your Unity project’s Library/com.unity.addressables folder.译:在文件浏览器中,导航到您的 Unity 项目的Library/com.unity.addressables文件夹

  5. Open the AddressablesBuildTEP.json file.译:打开AddressablesBuildTEP.json文件

See Unity Scriptable Build Pipeline for more information about build performance logging.

译:有关构建性能日志记录的更多信息,请参阅Unity Scriptable Build Pipeline



Unity_Addressable_Build Profiling(构建分析)的评论 (共 条)

分享到微博请遵守国家法律