I have a few folders marked for asset bundles like so:
And when I build them via a script, I get the following messages. Oddly enough, once per asset I’m putting in the bundles.
The error points to the “BuildAssetBundle” section of a script I’m preparing the bundles with that looks like this:
string assetBundleDirectory = "Assets/AssetBundles";
if (!Directory.Exists(assetBundleDirectory))
{
Directory.CreateDirectory(assetBundleDirectory);
}
BuildPipeline.BuildAssetBundles(assetBundleDirectory,
BuildAssetBundleOptions.ForceRebuildAssetBundle,
BuildTarget.StandaloneWindows);
I’d like to note that my folder structure is “Assets/_Assets/etc” so I can keep all game data in its own folder tree. The bundles are being created to “Assets/AssetBundles”.
Does anyone have a clue why this might be happening? The bundles are being generated just fine and they work perfectly during runtime.