error of ending line ?

hi i am getting this error in unity (idk why)

There are inconsistent line endings in the ‘Assets/Script/Pajaro.cs’ script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.

i read that i have to create a new script and copy and paste the old script ?
:slight_smile:

It’s not so much an error as a warning. It’s a formatting thing. For the most part, you can usually safely ignore them.

If you code using the bundled visual studio, it will automatically pop up a prompt to fix all these. For what it is worth I haven’t personally noticed any issue with Unity when these inconsistent line endings are left in. YMMV