-
I am on video 27. Manage Next States for C# Unity Developer 2D
-
I am running Visual Studio 2017 / MAC / Latest Version of Unity
-
My code matches the lesson and Git
However, when I try to run the code in Unity this error appears on the bottom:
There are inconsistent line endings in the ‘Assets/State.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.
UnityEditor.AssetDatabase:Refresh()
SyntaxTree.VisualStudio.Unity.Bridge.<>c:b__11_0()
SyntaxTree.VisualStudio.Unity.Bridge.<>c__DisplayClass40_0:b__0()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
I’ve looked online I think the issue is Windows conflicting with MAC somehow but I’m unclear what the solution is to continue.
Please advise.