Hi All!,
I’m trying to create multi-platform unity integration and I’ve got a case in which I should create the asset bundle in Unity desktop then upload it to a local server, the bundle will later be downloaded in Unity mobile to be shown. I’ve tried to build the asset at Runtime but it shows compilation error as it is not allowed to do the BuildPipeline in Runtime (should be in Editor). Does anyone have any info about how to do it (other than doing it manually in Editor)? or maybe any 3rd party libs that may help? thanks in advance!
If I should do it I will take a look on this: Unity - Manual: Command-line arguments
Maybe when you run your standalone project you can use the batch mode to call unity editor with a static method call to build your assetbundle.
-batchmode -nographics -executeMethod <ClassName.MethodName>