Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is is possible to export an entire unity3d project/game as an AssetBundle and load it on iOS/Android/Windows on an app that doesn't know anything about such game beforehand? What I have in mind is something like the web plugin does - it loads a series of .unity3d files over http, and render inline in the browser window.

Is it even possible to do something closer for iOS/Android?

I have read a lot of docs so far, but still can't be sure:

The code from the post at http://forum.unity3d.com/threads/112703-Override-Unity-Data-folder-path?p=749108&viewfull=1#post749108 works for Android, but how about iOS and other platforms?

share|improve this question
    
There may be platform restrictions on dynamic content for ios? –  Patrick Hughes May 31 at 4:41

1 Answer 1

Theoretically speaking, you could achieve something along those lines using AssetBundles, your "main game" would simply be a container loading asset bundles from your favorite CDN, and you would write new "games" on different scenes.

Each scene could be a game on it's own, stored in an asset bundle - and the main game scene simply switches between scenes/games.

This topic on the Unity forums seems to address how to pack scenes into Asset Bundles: http://answers.unity3d.com/questions/398630/importing-a-scene-from-assetbundle.html

Good luck

share|improve this answer
    
Indeed it may work on some platforms, however on iOS it would be a problem, as it is not possible to dinamically load new scripts after the app is deployed, not even inside AssetBundles. Of course that, if you don't target iOS, then it may be a very good approach. –  Rafael Steil Jun 2 at 14:26
1  
@RafaelSteil unfortunately I don't have experience on the matter on iOS - we only download static content (models, textures, materials) but not scripts, although that sounds very much like Apple's policy :) And my bet is that if their policy is against such a matter, even if you do find a way to do this to bypass it - you won't pass the review process. –  Ron Jun 2 at 18:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.