I have been having a problem with attaching scripts to objects ever since I updated unity. It will always sat that my script needs to derive from MonoBehaviour, even though it does. I have even created a new script, without doing any editing to it, and it says its not Monobehaviour. When I add the script to an object in by adding it as a component, It says “Source File ‘Assets/Scripts/NewBehaviourScript.cs’ could not be found”. Please help :c
You should uninstall Unity and your scripting program, and intall them again.