- Home /
dynamic prefabs in streamed scene asset bundle
hi all,
we are currently developing a game target on Android that we need to keep the APK file as small as possible. Thus we are considering to build the APK contains only scripts and an Update Scene. As for the Update scene, we plan to use it to download streamed scene asset bundle at run time. The problem is, it seems our prefabs in Resources folder are not included in the asset bundle, so how can we dynamically create instances of game objects from it?
Thanks in advance. Beck.
Answer by whydoidoit · Jan 05, 2013 at 12:33 PM
Items in the Resources folder are included in the main build even if they are not referenced by the project and so they are not in the AssetBundle - you would normally load them using Resources.Load...
Thanks for reply, but we excluded the Resources folder in the main build because we want to make the AP$$anonymous$$ as small as possible, and we want to include those dynamic resources it in the asset bundle. Is there any workarounds? Happy new year.