One of my game objects used to have a script that I have now deleted on purpose. Now it keeps saying this message as a warning:
The referenced script on this Behaviour is missing!
How can I rid of that?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityOne of my game objects used to have a script that I have now deleted on purpose. Now it keeps saying this message as a warning:
The referenced script on this Behaviour is missing!
How can I rid of that?
Remove the missing reference from your GameObject. You attached your script to something, remove the now missing component, and done.
Another potential reason why this error might occur is that your script file name and script class name are different. For example:
Incorrect Setup
Correct Setup