Asset Bundle Creator - [DISCONTINUED]

Asset Bundle Creator is not being actively being developed and should be considered as discontinued.

Asset Bundle Creator is released!

Asset Bundle Creator is a plug-in for Unity Pro which provide its users an easy and convenient way to create Asset Bundles.

By simply selecting a specified folder and pressing ‘build’ the plug-in, Asset Bundle Creator will create Asset Bundles out of each sub-folder in your specified folder.
1194472--47287--$screen0.png

Video Tutorial

Github: Link to Github project

If you have any comments, feature requests or bug reports, just reply to this thread or contact me on twitter

EDIT: The project is now only available on github.

1 Like

hi,

I really need your package,but i am not programmer,so i am using playmaker

Your tool have playmaker support?

Dev

I have no experience with playmaker, but i can’t see why it shouldn’t work. As I see it, building the asset bundles shouldn’t be any different than it is in my plugin. Just use it like I show in the video tutorial.
It’s the loading of the bundles that might differ with using playmaker rather than writing a solution directly in C#.

I skimmed through some of the forum threads on the playmaker forum and this unityforum, and it seems like people have been loading asset bundles with playmaker. So maybe you can find a way to load asset bundles on their forum.

hi,

thanks for reply,i buy your package very shortly.

dev

Thanks! Just let me know if you have any other questions :slight_smile:

Simple, clever, useful,…
All what I like !!!
Congratulations !
6R

Thanks! I’m glad to hear that :slight_smile:

A new update is submitted (1.01).
NEW: Added a toggle button which lets you decide whether or not to force your folder names into lowercase letters.

1197361--47695--$lowercaseButton.png

This update will be available for download within a few days.

Great plugin.

We have some questions.

Does the plugin do something like the Character Customization demo ( Discover the latest Unity demos and projects | Unity ).

Thanks!

Both yes and no. That example scene from unity is used for a very specific purpose. The similar thing between them is that they create asset bundle based on what is in the subfolders - but they do that in a completely different way(according to me).
I’ll try and explain the differences.

The Character Customization sample makes you follow a specific naming convention. That example finds and take each submesh in the model-file, creates an asset bundle for each and every one of them along with the correctly named textures.
Then the character generator they use, combines the meshes(according to your ‘settings’) and patch it together to be used as a character. It also uses predefined settings when building the asset bundles.

The Asset Bundle Creator is used more generally. It let’s you specify a folder where you put your subfolders. Then it creates an asset bundle for each subfolder, with any type of asset bundle settings you desire. It does not require you to follow any naming conventions, it does not split up any model-files into separate bundles - it takes all the assets in a folder and builds a single asset bundle from it, according to your settings in the editor window.

I hope that clarifies it. Let me know if you have more questions :slight_smile:

Thanks for the reply Niklas,

We’re trying to make a character customization type of project with asset bundles and was wondering how we can best leverage your plugin. As you explained Unity demo project is very specific in splitting up a character into components and patching them together in the game engine. Your plugin is more general in what in can do. The question is how to use your plugin to do something like the character customization project.

It is definitely possible, but you’ll have to split the models into meshes/prefabs yourself and put them in the subdirectories. So to make it work exactly like the Character Customization example will require some work from your side.
I could, however, make an update with an option that mimics the behavior from the example, if there’s a common interest.

Sounds great,

We would like to vote for this feature. I think your assetbundle tool would be very flexible and useful if it also has the ability to do character customization. If you add this feature, we would buy right away.

character customization :smile:

I’ll do some research and see if I can find a good enough solution and still maintain the simplicity of using it.

Version 1.01 is now released!
NEW: Added a toggle button which lets you decide whether or not to force your folder names into lowercase letters.

Hi Niklas, great asset… however, I am having a compilation error when compiling to Android or iOS… these are what I am getting:

Assets/BundleCreator/Scripts/UndoManager/HOEditorUndoManager.cs(3,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

and

Assets/BundleCreator/Scripts/UndoManager/HOEditorUndoManager.cs(3,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

Any help would be very appreciated! Thanks!

EDIT: Fixed the above error by moving UndoManager into the Editor folder… however, I now get this one.

Assets/BundleCreator/Scripts/LoadAssetFromBundle.cs(155,22): error CS0103: The name `baseURL' does not exist in the current context

Yes, you’re right. The undo manager should be in the Editor Folder, don’t now why i put it there.

For the error in LoadAssetFromBundle.cs, this should to the trick:
Change this(at the beginning of the class):

#if UNITY_EDITOR
        public string baseURL = "file://";
#elif UNITY_WEBPLAYER
        public string baseURL = "ONLINE_URL_HERE";
#endif

To this:

#if UNITY_EDITOR
	public string baseURL = "file://";
#else
	public string baseURL = "ONLINE_URL_HERE";
#endif

I don’t have Unity iOS or Android to test it, so please let me know if it worked and I’ll implement it in the next update.

That did the trick! Thank you very much.

NiklasBorglund,

are you gonna update this fix into the package please ???

hi,

i’m waiting too…because i’m also play maker user.we need it this plugin in play-maker. Because right now not any plugin for striming with play-maker supported.