Unity

[Unity] There are inconsistent line endings in the 'Assets/Scripts/HUD/HUD_controller.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 ..

Guk-blog 2020. 6. 26. 14:11
728x90
반응형

 There are inconsistent line endings in the 'Assets/Scripts/HUD/HUD_controller.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.

 

일일히 Save as에서 하나하나 줄 끝으로 저장하기 싫으신 분은 아래의 방법으로 해결 하시면 됩니다.

 

도구 - 사용자 지정

 

명령 - 명령 추가

파일 - 고급 저장 옵션(Advanced Save Option? 맞나 비스무리한거)을 추가해주시면 됩니다.

 

그러면 위와 같은 탭이 생기고 해당 탭을 누르면

 

위와 같은 창이 뜨는데 줄 끝을 Windows(CR LF)로 설정하시면 됩니다

728x90
반응형