Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetBuildReportDirectory(GUID, out string)

Attempts to get the build report directory for a specific build.
Read time 1 minuteLast updated 17 days ago

Definition

TryGetBuildReportDirectory(GUID, string)

public static bool TryGetBuildReportDirectory(GUID buildSessionGuid, out string directory)

Parameters

buildSessionGuid

GUID
The unique session GUID of the build to look up.

directory

When this method returns, contains the absolute path to the build report directory.

Returns

Type

Description

bool
true
if the build is tracked in the build history; otherwise
false
.

Remarks

The build report directory holds the BuildReport file and the supporting data captured during that build. The directory is guaranteed to exist on disk if this method returns
true
. Use this to locate files written during the build, or to write additional files alongside the build report.