I started in Unity few days ago and made a cube with a tank control style. Now I'd like to create controls similar to 3D fighting games (Gunz, Blade Symphony, …): Control body direction with the mouse and walk with WASD.

However, the Camera is giving me a error called "Behaviour missing" each time I try, with all the cameras scripts I saw. I think that is a error with tagging the character movement in the camera, but I don't know how to do that.

What might be the problem?

  • \$\begingroup\$ Does the error mention anything else? Why is that first bit about controls relevant when the issue you're having is with the camera? (Does it only happen when you try to make it move with the mouse?) \$\endgroup\$
    – Anko
    Apr 21, 2015 at 22:31

1 Answer 1


It's not wrong with the camera or with the content of any script you might have. This error occurs when you have a script attached to a gameobject and you deleted, moved or renamed it outside of unity. Unity can't find the related script for the MonoBehaviour component.

If you want to rename or move a script do it always in Unity. To solve your error, just find the component that references this missing script and drag the script that you might have moved onto the component.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .