I don’t quite understand clearly about how it work.
Unity’s document said
Does this mean,
I can embed script that’s has been compiled in to Unity application but not others that will come after that?
If it doesn’t then why? It just serialize state of that object isn’t it.
I found the key answer.
So normally AssetBundle doesn’t embed the script but it can find the script in it’s own application by using there GUID and Local ID
Is that correct.
If you create an assetbundle, add a script and then build out the bundle, then delete the script from your project, your bundle will fail to work(at least the script will not work). If you build the bundle but leave the script in your project, the script will work just fine.