Search Unity

Create AssetBundles from a different Unity Project

Discussion in 'Asset Bundles' started by FontouraCollide, Apr 24, 2018.

  1. FontouraCollide

    FontouraCollide

    Joined:
    Nov 15, 2016
    Posts:
    11
    Hello there,

    Is it possible to make a AssetBundle from a project and load it in a build of another project?

    I'm thinking of ways I could create a type of plugin mechanic that would enable other people to create assets for a project. For example, adding a prefab with a new model.

    I'm thinking of doing something like creating an interface(C#), that the developers would need to implement in order for their prefabs to work in the context their are adding it.

    Is this possible? Or does it even make sense? There are better ways to achieve what I want?

    Thank you
     
  2. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
    Yes, this is possible, but the bundles can not contain code (on AOT platforms) so this complicates things.
     
  3. FontouraCollide

    FontouraCollide

    Joined:
    Nov 15, 2016
    Posts:
    11
  4. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
  5. FontouraCollide

    FontouraCollide

    Joined:
    Nov 15, 2016
    Posts:
    11
    Hmm I'll have to check if this is a possibility for my project. iOS is not a problem, I only need desktop. This might help, thanks for the help :)