-1
Friend, this error is related to some problem in the script done, for example, the name of the Class is divergent from the name of the script, which must be the most common error in these cases.
Check if in your Unity Console you don’t have error messages, if you have please attach here so we can help you better. Hug!