- Home /
Question by
F8Foxie · Aug 23, 2019 at 06:21 AM ·
assetbundlebuild settingsbuildpipelineasset bundlesbuildplayer
How do i define BuildPlayerOptions.assetBundleManifestPath without a custom script?
Im trying to define the BuildPlayerOptions.assetBundleManifestPath to point to my built bundle manifest but the only way I've been able to do so is using a custom build script like so:
BuildPipeline.BuildPlayer(new BuildPlayerOptions
{
scenes = sceneNames,
locationPathName = @"C:\{project path}\Builds\Build.apk",
assetBundleManifestPath = @"C:\{project path}\AssetBundles\Android\Android.manifest",
target = BuildTarget.Android,
options = BuildOptions.AutoRunPlayer
});
Is it possible do define the assetBundleManifestPath in the normal build settings interface or is a custom build script the only way?
Comment
Your answer
Follow this Question
Related Questions
How to import the object from server to unity 2 Answers
Exception when building asset bundle with variant using build map 0 Answers
How do I define ScriptDefines from either the command line or with executeScript 1 Answer
Loading Asset bundles and Scenes separately 0 Answers
Can we use BuildPipeline.BuildPlayer to simultaneously build for iOS and android? 0 Answers