Version: 2023.2
LanguageEnglish
  • C#
Method group is Obsolete

AssemblyBuilder.status

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Obsolete This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler. public Compilation.AssemblyBuilderStatus status;

Description

Current status of assembly build. (Read Only)

Returns AssemblyBuilderStatus.NotStarted before AssemblyBuilder.Build has been called.
Returns AssemblyBuilderStatus.IsCompiling during build and AssemblyBuilderStatus.Finished once the build finishes.

Accessing this property in a loop on the main thread until it returns AssemblyBuilderStatus.Finished is allowed. This will block the main thread until the build finishes.

Additional resources: AssemblyBuilder.Build.