- Home /
Build Asset Bundle for a different target Platform
Hi guys,
I am trying to create Asset Bundles inside Unity Editor by calling BuildPipeline.BuildAssetBundle passing a different targetPlatform than the current one and am having Unity crash on that call.
Is it possible to build asset bundles for Webplayer while in IOS Platform? If not, is there any way to switch the current platform via code?
Cheers,
Answer by ayalasan · Aug 29, 2013 at 01:55 PM
Here's an update.
The crash I was originally experiencing in 4.1.X (don't remember the exact subversion) was happening in OSX.- To my surprise, the asset bundle creation passing a different target platform worked fine in PC, without any crashing.
Actually I was able to create an ios bundle from the PC editor, then created a little ios app which loads this bundle perfectly fine.
Your answer
Follow this Question
Related Questions
Editor crashes after build on any platform 1 Answer
Editor crash on max osx 0 Answers
Locking assembly reloading in editor 0 Answers
AssetBundle LoadAsset questions in android 1 Answer
webplayer crash after upgrade to 3.4 5 Answers