Documentation

Unity Engine

Download Unity

Unity Engine

projectGuid

The PlayerSettings.productGUID of the project that made the build.
Read time 1 minuteLast updated a day ago

Definition

public readonly GUID projectGuid { get; }

Remarks

Use this value to tell whether a build was made in the current project, for example when its build history entry was copied from another project. Copies and clones of a project share its GUID, and Unity generates a new one if the project settings are reset. It is a default-valued GUID for builds reported before Unity recorded it.