can't add script.

Hello, all.
I have a problem.
I want to put a script into a object but it gives for all the scripts a error:

Can’t add script.
Can’t add script behaviour space feedback . you need to fix all compile errors in all scripts first!

But i don’t know what to do right now, so can anyone help me please.
Ty, already.

The error says in it:
“You need to fix all compile errors in all scripts first!”

Fix all the other errors (red logs).

Yeah, you can’t attach a script that isn’t working yet.

If you need it to be on an object for debugging, do this:

Make a new (empty) script, attach that to the object, then cut and paste your script to that script.
Then fix the errors.

I have the same, i try to make a new script and i have the same problem.

I have delete this script, but the problem is already here …

Unless all scripts in your project are error-free, you can’t attach any new script to any new object. The error logs are pretty descriptive, they show which script has errors, at which line, and at which character in that line, with an explanation of the problem itself. You need to learn how to read the console, it will save you a lot of trouble in the future.