- Home /
The referenced script on this Behaviour is missing please help.
This error keeps coming up i don't know what happened.
The referenced script on this Behaviour is missing! UnityEngine.Object:Instantiate(Object, Vector3, Quaternion) RocketLauncher:Fire() (at Assets/WeaponScripts/RocketLauncher.js:11) UnityEngine.Component:BroadcastMessage(String) $:MoveNext() (at Assets/WeaponScripts/AI.js:65)
Edit:Now i know that the script doesn't exist where would i be able to get it again.
Answer by Ludiares.du · Sep 04, 2011 at 10:43 PM
What it tells is that the script you're calling doesn't exist
Answer by SisterKy · Sep 05, 2011 at 06:37 AM
After ten mins of custom-googling...
Three probable causes:
http://answers.unity3d.com/questions/44013/refenced-script-on-this-behavior-is-missing.html
http://answers.unity3d.com/questions/125639/easy-explosion-script.html
http://answers.unity3d.com/questions/55588/referenced-script-missing.html
If you are having the latter problem ... maybe you are doing some Shooter-Tutorial? Then reimport the package or rewrite the scripts according to the instructions in the tutorial.
But seriously! There are about 2 billion 'RocketLauncher.js' and 'AI.js' out there. How should we know where to get the ones you lost except random guessing?? Giving a bit more information next time will not kill you. I promise.
Greetz, Ky.