Manual Asset Bundle Uploading

In depth learning on Creating and Managing Asset Bundles is found in this course in Motive Academy.

 

In this video we’ll cover how to manually upload Asset Bundles to Storyflow:

https://vimeo.com/921206593?share=copy

To view this video in full screen, click here.

 

Quick Steps

In Unity

  1. Select a Prefab

  2. Give Prefab a tag

  3. Open Asset Bundler

  4. Select the tag and the build target

  5. Choose folder on computer to be built into - Asset Bundles

  6. Select the new folder

  7. Choose “Build Asset Bundles” (this can take some time depending on the size)

Now if you open the folder on your computer, you can see the Android file and within the Asset Bundle.

In Storyflow

  1. Go to “Media” tab at the top of the page

  2. Click “upload

  3. Upload the Asset Bundle (overwrite if an older version is there)

  4. Go to “Catalogs” at the top of the page

  5. Find the Media Item Catalog (choose any folder here)

  6. Click the + icon to add a new Media Item

  7. Select “Choose Media

  8. Select your Asset Bundle

  9. Save

  10. Click the house icon at the top left to go back to the main page of the Catalogs

  11. Find the Unity Asset Bundle Catalog (choose any folder here)

  12. Click the + icon to add a new Media Item

  13. Name the new item

  14. Click the + icon to the right of “Default” and choose your Asset Bundle

  15. Click the + icon to the right of “Android” and from the pop out

  16. Choose your Asset Bundle

  17. Save

  18. Click the house icon at the top left to go back to the main page of the Catalogs

  19. Find the Unity Asset Catalog (choose any folder here)

  20. Click the + icon to add a new Media Item

  21. Click the + icon to the right of “Asset Bundle”

  22. Select the Asset Bundle that you just created in the last step

  23. Give it the same exact name as the prefab in the Unity Project

  24. Save

Please Note

When you use this process, the Asset Bundle that is produced and lives in the folder has a lowercase letter to start the file extension. In the case of the video, the extension is ".android".

When you use the Asset Bundler, the file extension has a capital letter (".Android"). Storyflow sees these as different files. If someone uses the manual process, they should either:

  1. Change the file extension to use a capital letter before uploading to Storyflow; or

  2. Make sure to change the asset bundle in the Unity Asset Bundle Catalog folder to use the file with the lower case letter in the extension.