'Assets/NumberWizard.cs'

Hello Everyone,

I am new to unity and I am receiving the following error every time I start my script on C#. I am using Windows 8.

“There are inconsistent line endings in the ‘Assets/NumberWizard.cs’ script. Some are Mac OS X (UNIX) and some are Windows.”

Could you please advise what to do.
Thank you.

You’ll have to find a Linux equivalent, but as an example, you can open that referenced file in Notepad++ in Windows and use the Edit → EOL Conversions menu to change the end of line to be the right type. It’s just a warning so it’s not going to break anything but it is annoying. That file probably original has a /r/n line ending and just /r or /n line endings have been added, but it’s hard telling. The following image shows the conversion in notepad++