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
Asset Bundle building options.
|None||Build assetBundle without any special option.|
|UncompressedAssetBundle||Don't compress the data when creating the asset bundle.|
|DisableWriteTypeTree||Do not include type information within the AssetBundle.|
|DeterministicAssetBundle||Builds an asset bundle using a hash for the id of the object stored in the asset bundle.|
|ForceRebuildAssetBundle||Force rebuild the assetBundles.|
|IgnoreTypeTreeChanges||Ignore the type tree changes when doing the incremental build check.|
|AppendHashToAssetBundleName||Append the hash to the assetBundle name.|
|ChunkBasedCompression||Use chunk-based LZ4 compression when creating the AssetBundle.|
|StrictMode||Do not allow the build to succeed if any errors are reporting during it.|
|DryRunBuild||Do a dry run build.|
|DisableLoadAssetByFileName||Disables Asset Bundle LoadAsset by file name.|
|DisableLoadAssetByFileNameWithExtension||Disables Asset Bundle LoadAsset by file name with extension.|