ドキュメント

Unity Engine

Unity Engine

BuildHistoryLimit

Maximum number of builds to retain in the build history.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static int BuildHistoryLimit { get; set; }

Remarks

When a new build pushes the count over this limit, the oldest entries are removed, where "oldest" is determined by the build start time recorded in each entry's BuildReportSummary. Build folders copied in from another machine are subject to the same policy.
A value of 0 disables automatic deletion. Negative values are clamped to 0.
Changes take effect on the next build. The existing history isn't pruned when this value is changed.
This is a per-project setting that Unity stores in
UserSettings/BuildPipelineSettings.asset
. It's also exposed in Project Settings > Build Pipeline.
Additional Resources: BuildHistory.ApplyRetentionPolicy