- Home /
 
               Question by 
               Silentones · Oct 22, 2019 at 12:31 AM · 
                unity 5visual studio  
              
 
              [Mac] Inconsistent line endings some are Mac OS X (UNIX) and some are Windows?
I have tried going into Visual Studio 2019 and changed "Line Ending Conversions" to always. I am still getting that error message. My unity version is 2019.1.12f1
The error that caused this was
 void OnCollisionEnter(Collision tagCollision)
 {
     switch (tagCollision.gameObject.tag)
     {
         case "Friendly":
             break;
         case "Completed":
             SceneManager.LoadScene(1);
             break;
         default:
             print("Dead");
             SceneManager.LoadScene(0);
             break;
     }
 }
I have deleted and reloaded my scenes. That does not work. I keep getting the same message.
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Unity 5.6 - HoloLens debug build exits with code 0x80000003 1 Answer
InvokeRepeating time doesn't sync within the same update function 2 Answers
Unity 5.3.1 and Visual Studio 2015: Project Target Framework Not Installed Error Message? 4 Answers
Visual Studio Code Mac (1.29.1) problem with class inheritance Unity (2018.2.17f1) 0 Answers
Enemy follow player when player is not looking. OnBecameInvisible not working. 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                