- Home /
Loading scene with scripts from asset bundle
I have scenes with c# scripts attached to many of the GameObject. I am creating asset bundle from these scene and try loading it from another unity application.
But the issue is that the scenes are not loading; I am getting the error message The referenced script on this Behaviour is missing!
If I keep the scripts in the application which loads the asset bundle then everything is working as expected. Is there a way I can get scripts loaded automatically when I load the scene? I do not want to load the scripts using reflection and all.
Answer by Graham-Dunnett · May 14, 2015 at 03:45 PM
Maybe read the documentation:
http://docs.unity3d.com/Manual/scriptsinassetbundles.html
If you don't want to use reflection, then you do not have a way to make this work.