Inconsistent Line Endings Error using Unity 2018.1.0f2
I'm using Unity 2018.1.0f2 and Visual Studio 7.5.2 for Mac. In my Unity Console I have all these warnings about Inconsistent Line Endings. How can I fix this? Everything I've found is for Windows version of Visual Studio and I can't find the recommended settings on a Mac.
Thanks!
Answer by unity_21erushbrook · May 31, 2018 at 08:38 PM
In visual studio click save as then click save with encoding. You can then choose your line ending and encoding.
Hope this fixes you issue!
Answer by SpiderJones · May 31, 2018 at 08:42 PM
Thank you for your reply. Where do I click save? Do you mean File/Save? I don't see a "save with encoding". I'm using a Visual Studio on a Mac, FYI.
thanks.
Go to file > save as
You will see a dropdown next to the file name (or on the bottom of the pop up, I’m not too familiar with macs) that has the option for save with encoding. Click save and click on the line ending you want.
There is a advanced save options dropdown next to the save button btw