Select your preferred scripting language. All code snippets will be displayed in this language.
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
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
Building options. Multiple options can be combined together.
See Also: BuildPipeline.BuildPlayer.
|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 UnityWebRequest class.|
|AcceptExternalModificationsToPlayer||Used when building Xcode (iOS) or Eclipse (Android) projects.|
|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.|
|ConnectToHost||Sets the Player to connect to the Editor.|
|EnableHeadlessMode||Build headless Linux standalone.|
|BuildScriptsOnly||Only build the scripts in a Project.|
|ForceEnableAssertions||Include assertions in the build. By default, the assertions are only included in development builds.|
|CompressWithLz4||Use chunk-based LZ4 compression when building the Player.|
|CompressWithLz4HC||Use chunk-based LZ4 high-compression when building the Player.|
|StrictMode||Do not allow the build to succeed if any errors are reporting during it.|
|IncludeTestAssemblies||Build will include Assemblies for testing.|
Did you find this page useful? Please give it a rating: