Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Can't add script behaviour TMP_CoroutineTween. The script needs to derive from MonoBehaviour!

Discussion in 'Documentation' started by thegrailvr, Sep 3, 2018.

  1. thegrailvr

    thegrailvr

    Joined:
    Jul 19, 2018
    Posts:
    4
    My scripts were working fine last night.
    This morning I can't attach any scripts to my gameobject.
    Even the scripts that are already attached, when removed, cannot be attached back onto thegame object.
    I get this error "Can't add script behaviour TMP_CoroutineTween. The script needs to derive from MonoBehaviour!" .

    I searched online and it seems it is the naming convention of the script.
    I have made sure, all my scripts have scriptname : Monobehaviour in them so I'm pretty sure this is not an issue.

    Any help would be appreciated. Scripts were working fine last night.