2D Toolkit Forum
2D Toolkit => Support => Topic started by: sean_ben on December 05, 2012, 08:41:56 am
-
Hi, I have tried create an asset bundle with sprite collection and want to create sprite dynamically with that bundle. And I follow the Unity instruction on AssetBundle, the data loaded correctly. However, when I create the new sprite in Editor and click on the sprite, then Unity give me the error "unable to find sprite collection" and the Editor keep looping to "Rebuild index". I have check the forum and found this post just as same as my issue (http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=377.0). I am using version 1.8 and did that means this bug still in 1.8?
thx
-
No that issue was fixed quite a while back.
Can you actually create your sprite dynamically using the asset bundle? This will not work if all the dependent data isn't present.
You're not loading the asset bundle from an editor script are you?
-
That's strange, I cannot reproduce this problem anymore...tried create sprite dynamically and create from prefabs and change the collection data load from asset bundle, now everything working just fine. Anyway, thanks for help.