7502018d20
There is an asset in the store I grabbed. the coding is WAY above my head, I got about half of it and integrated and adapted what I can to it. im going as far as I can with it and ill come back in a few month when I understand t better.
7 lines
803 B
Markdown
7 lines
803 B
Markdown
---
|
|
uid: samples-disable-asset-import-on-build
|
|
---
|
|
# Disable Asset Import on Build
|
|
This sample provides a script that disables asset importing during a player build. This improves build performance since `AssetBundles` are copied into StreamingAssets at build time. This Sample is only relevant for Editor versions below 2021.2. In 2021.2+, the Editor provides the ability to include folders outside of `Assets/` into `StreamingAssets`.
|
|
|
|
When the sample is imported into the project, a player build without asset importing can be triggered by the new menu item **Build/Disabled Importer Build**. The build output is placed into **DisabledImporterBuildPath/{EditorUserBuildSettings.activeBuildTarget}/** by default. The sample class `DisableAssetImportOnBuild` can be edited to alter the build path. |