Wierd Warning: Inconsistent Line Ending

After upgrading to Unity 2.1, I keep getting this “There are Inconsistent Line endings in the… some are Mac OS some are Window” message. Eventhough, there’s no such thing in my scripts.

It’s pretty annoying. Any clue about this?

Your text editor should have some way of changing all line endings to one type. You can get this if you copy&pasted text from some other sources even if you didn’t do it deliberately.

–Eric

If you’re using Unitron, select all text, goto text > line ending > mac osx and that will fix the problem.

Ahh! Thank you. This has been vexing me for some time.