There are several different BuildAssetBundleOptions that you can specify that have a variety of effects. You can change this to any output directory you desire, just ensure that the folder actually exists before you attempt a build.
Let’s dive a little deeper into what we’re actually saying.Īssets/AssetBundles: This is the directory that the AssetBundles will be output to. In the documentation on the AssetBundle Workflow, we have a code sample which passes three arguments to the BuildPipeline.BuildAssetBundles function.