Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    2
    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.