- Home /
Missing scripts on gameObject created from asset bundle
I have a prefab with 2 scripts A and B attached to it. The prefab is packaged into an asset bundle and streamed from server if needed.
The problem is that when game object is instantiated only script A is present with all the right settings (public field values), but B is missing.
The problem is present in Web Player, but in the Editor everything is fine. Any idea why? Isn't it supposed to work?
I know that you can't package scripts in asset bundles and expect them to work, need to load them manually using Reflection.
Your answer
Follow this Question
Related Questions
How to import the object from server to unity 2 Answers
android - file system, where to put files and how to access them? 2 Answers
How do I increase performance during a scene load? 1 Answer
How to put script assemblies into asset bundles and preserve public values? 1 Answer
Streamed Scene Asset Bundles in a Streamed Web Player Causing Crashes 1 Answer