Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetParentBuild(GUID, out GUID)

Attempts to get the build that a build ran inside.
Read time 1 minuteLast updated 4 days ago

Definition

TryGetParentBuild(GUID, GUID)

public static bool TryGetParentBuild(GUID buildSessionGuid, out GUID parentBuildSessionGuid)

Parameters

buildSessionGuid

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

parentBuildSessionGuid

GUID
When this method returns, contains the session GUID of the build it ran inside, if found.

Returns

Type

Description

bool
true
if the build is tracked in the build history and has a recorded parent; otherwise
false
.

Remarks

The parent is recorded when the build runs. The value is returned regardless of whether the parent build is actually still present in the build history. For example it could reference a build that has already been deleted by the retention policy.
Additional Resources: BuildHistory.GetChildBuilds