목록유니티/유니티 오류 (3)
A-Dyu의 개발 일기장

유니티를 사용하다가 이런 경고가 출력되었다. There are 2 event systems in the scene. Please ensure there is alway s exactly one event system in the scene 이건 뭐 말 그대로 현재 게임에 EventSystem이 2개 이상 있다는 뜻이다.혹여나 씬을 Additive시킬 때 이런 경고가 뜰 수 있으니 조심!
유니티를 사용하다 완성 후 빌드할때 이 오류가 떳다.난생 처음보는 오류에 구글에 검색해보았더니 꽤 오래전부터 있던 전통적인? 오류인것 같았다.https://discussions.unity.com/t/type-has-an-extra-field-of-type-in-the-player-and-thus-cant-be-serialized-error/678423여기에서 나온대로 원래 클래스 안쪽에 있던 열거형을 바깥에 빼봤더니 잘 된다.다시 넣어도 잘 된다.?ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

유니티에서 old input을 사용하다가 new input system으로 바꾸자, 이런 오류가 일어났다. InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings. 해결 방법은 간단하다. Edit에서 Project Setting창을 열고Player > Other Setting을 클릭하면 이런 창이 나온다많은 설정들이 있는데 우리는 Configuration 카테고리에 들어가 Active Input Handling.을 찾으면 된다.아마 Input M..