Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Make BuildPipeline.BuildAssetBundles accept full path instead of project relative ?

Discussion in 'Asset Bundles' started by JustAnotherDude, Jan 10, 2019.

  1. JustAnotherDude


    Oct 28, 2013

    The method :

    public static AssetBundleManifest BuildAssetBundles(string outputPath, BuildAssetBundleOptions assetBundleOptions, BuildTarget targetPlatform);

    And :
    The outputPath is a path to a folder somewhere within the project folder where the built bundles will be saved (eg, "Assets/MyBundleFolder"). The folder will not be created automatically and the function will simply fail if it doesn't already exist.

    This is very bad, I want to save my assetbundle from one project to another, this limits the functionality...