I keep getting an error in my udemy course

Im taking the 2d course on udemy and getting this error below in Unity when working through the Text 101 part of the course. Any one know in to what it’s referring too?

The referenced script (Unknown) on this Behaviour is missing!

1 Like

Hi @amonk89,

Welcome to our community! :slight_smile:

Did you save your script? Or did you change something in the script or did you change the file name? When exactly did the error occur? What did you do before? Does the file name match the class name inside the file? For example, is the Test class inside the Test.cs file?

Hi Nina,
Thanks for the welcome. It happened when I was at Text 101 part of the 2d course. I was working on my script, and I saved it. It was around the time I replace MonoBehaviour with ScriptableObject I believe. I got like 6 errors of that saying the same thing. But I restarted Unity again, and now the errors do not show.

Sometimes, Unity has got internal problems. Restarting often helps in that case. :slight_smile:


See also:

Thank you Nina for your help

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms