Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

Build AssetBundle once model is being imported issues

$
0
0
Hello, As part of my working process I've wrote some AssetPostprocessor functions. At the end of the import model flow I'm trying to build the project assetbundles. However when I use: BuildPipeline.BuildAssetBundles(outputPath, BuildAssetBundleOptions.None, EditorUserBuildSettings.activeBuildTarget); On the OnPostprocessAllAssets function, I get an error: "Cannot build AssetBundles while imports of assets are in progress. Are you trying to build AssetBundles from within an AssetPostprocessor?" Does someone know I can build assetbundles at the end of the import settings although this issue. Thanks

Viewing all articles
Browse latest Browse all 312


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>