Hello Guest

Author Topic: Asset Bundle Error  (Read 4700 times)

CYS

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Asset Bundle Error
« on: January 06, 2016, 12:18:53 pm »
Hi all,

I'm trying to figure out how to put my sprite collections in AssetBundles (using Unity 5.3), and when exporting the tk2dSpriteCollectionData, the console displayed these 2 errors -

Code: [Select]
"Sprite" object from asset "Assets/Sprites/New_Monsters/AllMonsters Data/atlas0.png" is missing in the instanceIDToAssetBundleIndex map.
UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget)
AssetBundleEditor:BuildAllAssetBundles() (at Assets/Editor/AssetBundleEditor.cs:11)

AssetBundle index doesn't exist in the asset database.
UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget)
AssetBundleEditor:BuildAllAssetBundles() (at Assets/Editor/AssetBundleEditor.cs:11)

They were exported using the following editorscript,

Code: [Select]
BuildPipeline.BuildAssetBundles ("AssetBundles/Android", BuildAssetBundleOptions.CompleteAssets | BuildAssetBundleOptions.CollectDependencies, BuildTarget.Android);
May I know if there is any solution to the problems?
Thanks.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Asset Bundle Error
« Reply #1 on: January 07, 2016, 11:34:30 pm »
Just tried this and it seems to work fine for me. Can you create a minimal repro case to look at in the private support forum.