Losting script when using asset bunlde

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:


Go to the section on the page with the title:

“Including scripts in AssetBundles”

I think that tells you the workaround.