Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BuildOptions

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

Sumbission failed

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

Close

Cancel

Description

Building options. Multiple options can be combined together.

See Also: BuildPipeline.BuildPlayer.

Variables

None Perform the specified build without any special settings or extra tasks.
Development Build a development version of the player.
AutoRunPlayer Run the built player.
ShowBuiltPlayer Show the built player.
BuildAdditionalStreamedScenes Build a compressed asset bundle that contains streamed scenes loadable with the WWW class.
AcceptExternalModificationsToPlayer Used when building XCode (iPhone) or Eclipse (Android) projects.
WebPlayerOfflineDeployment Copy UnityObject.js alongside Web Player so it wouldn't have to be downloaded from internet.
ConnectWithProfiler Start the player with a connection to the profiler in the editor.
AllowDebugging Allow script debuggers to attach to the player remotely.
SymlinkLibraries Symlink runtime libraries when generating iOS XCode project. (Faster iteration time).
UncompressedAssetBundle Don't compress the data when creating the asset bundle.
DeployOnline Generate online version of webplayer.