I packed a prefab which bounds some cs scripts to an asset bundle, when I loaded it in-game, I found some of scripts lost. I checked log and every resource I needed was properly packed.
Could anyone help me to figure it out?
Thanks in advance :)
I packed a prefab which bounds some cs scripts to an asset bundle, when I loaded it in-game, I found some of scripts lost. I checked log and every resource I needed was properly packed.
Could anyone help me to figure it out?
Thanks in advance :)
Asset bundles can't contain scripts, if that's what you're asking.
Have you read this:
http://unity3d.com/support/documentation/Manual/AssetBundles.html
Go to the section on the page with the title:
“Including scripts in AssetBundles”
I think that tells you the workaround.