I was making a little shooter game, and suddenly this message appears “The referenced script on this Behaviour is missing!” Monobehaviour line: 1667" I cant see or place any grass, stones and plants.
Probably a component ‘fell off’ while you where reorganizing or copy/pasting. Did you look at the code it points you too? That should give you a clue what fell off of what.
First off thank you for your reply,
I am pretty good in english but what exactly do you mean by ‘Did you look at the code it points to you too?’. Do you mean that I must track down the script and look in to it to see what went wrong?
MonoBehaviour is a component like any other (rigid body, mesh ect) except it’s unique in that it represents a script/class. This error message happens when a behaviour can’t find the script it should be using. The most likely cause is that a script was renamed or moving a game objects to-from other scenes/projects has caused it to forget which script it should be using.
If you double click the error message is should highlight which game object this has happen to.
This should not happend when you reorganize your file, but almost all time happen when you rename your class, at least in c#, but as already other said just click on the error message and that should highlight the object where this happened