ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


Build Analysis window reference

Reference for the Build Analysis window, where you can inspect the build history of your project.
読み終わるまでの所要時間 4 分最終更新 1ヶ月前

Use the Build Analysis window to inspect the build history of your project. To open the window go to Window > Analysis > Build Analysis.

Build Analysis window with some build data open in the Overview tab.

The window has the following tabs to explore the data related to a build:
  • Overview: An overall analysis of the build, including details of the build steps, and recommendations to improve the build process.
  • Assets: A list of assets included in the build.
Both tabs display the outcome of the build as either Success or Failure, along with the date and timing of the build.
The sidebar contains a list of any builds that are in the
BuildHistory
folder of your project. By default, the
BuildHistory
folder is nested in the
Library
folder of your project. You can configure its location in the Project Settings window. Right-click on the build to display it in a file browser, copy its path, or delete the build directory from the
BuildHistory
folder.

Overview tab

The top of the tab contains a summary of the following:

Property

Description

Total SizeDisplays the total size of the build.
Build DurationDisplays how long the build took to create.
AssetsDisplays the total number of assets in the build. For a full list of the assets in the build, refer to the Assets tab.

Build Details

Displays a summary of the details of the build.

Property

Description

ErrorsDisplays the number of errors Unity logged during the build. The Messages section displays a detailed list of any errors.
WarningsDisplays the number of warnings Unity logged during the build. The Messages section displays a detailed list of any warnings.
Cache ReusedDisplays the percentage of the build's content that Unity reused from a previous build.
Build OptionsDisplays the build options enabled for this build.
Content OptionsDisplays the content build options for this build. Only applicable for content directory builds.
Output PathDisplays the folder that Unity wrote the build to.

Build Steps

Displays the time spent on each step of the build process.

Build Logs

Displays a list of info, warning, and error messages related to the build. Use the View dropdown to filter the messages by build step. You can also select Collapse to collapse any duplicated messages.

Assets tab

The top of the tab contains a summary of the following:

Property

Description

ScenesDisplays the total number of scenes in the build.
AssetsDisplays the total number of assets in the build.
Root AssetsDisplays the total number of root assets in the build. Only applicable for content directory builds.

Root Asset Table

Displays a list of the root assets in the build. Only applicable for content directory builds.

Property

Description

NameDisplays the root asset's file name.
Direct SizeDisplays the build output size for this root and what loads immediately with it. Excludes on-demand loadable content.
Direct AssetsDisplays the number of source assets that load immediately with this root. Excludes on-demand loadable content.
Total SizeDisplays the build output size for everything reachable from this root asset, including on-demand loadable content.
Total AssetsDisplays the number of source assets reachable from this root asset, including on-demand loadable content.
You can right-click on any of the assets in the list to select the asset in your project, or copy its path.
Select the Toggle Inspector icon at the top right of the window to display further information about a root asset when you select it in the list. The inspector additionally displays a References list, which contains a list of all assets contained in the root asset.

Asset Table

Displays a list of the assets included in the build.

Property

Description

NameDisplays the asset's file name.
File ExtensionDisplays the file extension of the asset.
Output SizeDisplays the size of the asset. The table is ordered by this value by default.
You can right-click on any of the assets in the list to select the asset in your project, or copy its path.
Select the Toggle Inspector icon at the top right of the window to display further information about an asset when you select it in the list:

Property

Description

Output sizeDisplays the size of the asset.
Importer typeDisplays the importer that imported the asset.
Objects countDisplays the number of objects that this asset contributes to.
Resources filesDisplays the number of resource streams that the objects from the asset reference.
Asset pathDisplays the file path of the asset.

Additional resources