Every Scripts made can't derive from Monobehaviour
Hey there,
I'm working remotely with a friend on a project. For some reason, every scripts he creates can't make the link with monobehaviour when in the editor. There is a message a the top right saying : No Monobehaviour scripts in the file, or their names do not match the file name. The name matches exactly, we even created a blank new script and nothing is working with that too. When we add it to an object it, there is the following error : Can't add script behaviour IconPreview. The script needs to derive from MonoBehaviour.
Please help us I'm going crazy now.
Thanks a lot
Your answer
Follow this Question
Related Questions
How to define the forward direction of an object made in blender 1 Answer
Have object fly towards camera 0 Answers
accessing a script using a variable with getComponent, then accessing a variable inside that script 1 Answer
Can't access a method from another script (Object reference not set to an instance of an object) 1 Answer
assets and scripts not working,Scripts and assets not working 0 Answers