- Home /
Question by
Deltaflux · May 13, 2014 at 11:20 AM ·
assetbundleresources
AssetBundle including resources that are in Resources folder
I'm creating an AssetBundle with some prefabs in, and with BuildAssetBundleOptions.CollectDependencies flag set. The problem I have is that the bundle contains assets which live in the Resources folder in the project - which seems wrong because the player will automatically have all those resources in it (as docomented here https://docs.unity3d.com/Documentation/ScriptReference/Resources.html).
Is this intended behaviour? I can't see any sensible reason for it.
As a workaround I think I could generate an asset bundle containing all the resources in Resources and push it as a dependency - but that seems like an ugly fix.
Comment