Documentation

Unity Engine

Download Unity

Unity Engine

ContentDirectoryDiagnostics

Describes what is loaded from a content directory, including the holds that Unity keeps on its root assets.
Read time 1 minuteLast updated 9 hours ago

Definition

  • Type: Class
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public static class ContentDirectoryDiagnostics

Remarks

To name the files that a state lists, use the
ContentLayout.json
file of the build that produced the content directory. Its entry whose
StableId
equals ContentFileIdentity.ToString lists the source assets of the file. The layout is in the build's report directory, which BuildHistory keeps for builds made in this project. Find the build with ContentDirectoryLoadInfo.BuildManifestHash.
The build history deletes its oldest builds once it holds BuildHistory.BuildHistoryLimit builds, and has no builds made on other machines, such as a build server. To diagnose those builds, keep the build report directory with the build output.

Static Methods

Method

Description

GetContentDirectoryLoadInfoFills a ContentDirectoryLoadInfo for one content directory.