- Home /
Issue with scripts, error code "script needs to derive from monobehaviour"
All of a sudden, all of the scripts that I have no longer work and are showing an error code "script needs to derive from monobehaviour". They were working no more than 10 minutes ago, but as a soon as I got to the 3D Physics part of my online tutorial and added a rigidbody to one of my objects, the scripts I have been using no longer work. At first I thought it was a script issue with the one I made for the 3D physics but I searched for solutions everywhere a rewrote it many times yet it still doesn't work. I can't even add a script that was working not long ago to an object that doesn't have physics. Any help?
Your answer
![](https://koobas.hobune.stream/wayback/20220612232122im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Exposed variable is null in Awake 1 Answer
Problem with attaching scripts to objects 1 Answer
I can not set resolution 1 Answer
How do I detect that MonoBehaviour is modified in the Editor? 2 Answers
Unit testing for MonoBehaviours 2 Answers