Unity/에러

Unity/에러

UGUI 버튼 클릭이 안 됨

잘 되던 버튼이 있는 씬을 복사해서 새로 만든 씬이였는데 버튼이 안 눌리고 GUI관련한 클릭 처리가 안 되었다. 인터넷에 검색해보니 EventSystem관련한 이야기가 보였다 그리고 나의 Hierarchy를 보니 Canvas 친구인 EventSystem이 없었다.. 내가 실수로 삭제했었나보다 EventSystem를 만들어주자마자 모든 처리가 잘 된다.. 금방 알아서 다행이다.

Unity/에러

The Assembly System.Configuration is referenced by System.Data

문제 sqlite로 데이터베이스를 쓰는 유니티 프로젝트를 안드로이드 앱으로 빌드했다.해당 앱을 설치한 후에 앱 아이콘을 눌러 실행을 시도하면 오류메세지도 없이 앱 실행이 되지 않았다.빌드 하던 중에 유니티 로그에서 아래 오류 메세지가 떠있는 걸보고 그걸로 해결하려고 했다. 오류 메세지 ArgumentException: The Assembly System.Configuration is referenced by System.Data ('Assets/Plugins/System.Data.dll'). But the dll is not allowed to be included or could not be found.UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurs..

Unity/에러

You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed.

You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can inherit from ScriptableObject or no base class at allUnityEngine.MonoBehaviour:.ctor() 그럼 new말고 어떻게 쓰라는건지..AddComponent()를 new대신 어떻게 쓰라는 건지..이해가 안되는군

Unity/에러

유니티 안드로이드 빌드오류

참고http://stackoverflow.com/questions/42538433/not-finding-android-sdk-unity# 문제 위에 링크 글 보고 해결하긴 했다.

Unity/에러

씬 바뀌었을 때 light가 이상하다

SceneManager.LoadScene("Main"); 씬 매니저를 이용해서 씬을 변경했는데light가 뭔가 이상하다.씬을 변경하면 불이 어둡다. 검색을 해서 해결방법을 알았다.window > LightingLightmaps 탭 클릭 오토 체크 되어있는걸 풀고Build를 눌렀다빌드가 끝난 후에다시 게임 시작하고 씬을 변경하니어둡고 그런게 없다 어두운 상태여도 앱 빌드로 내보내면 빛이 괜찮다고 읽었지만 정확하지 않다 참고 http://answers.unity3d.com/questions/919940/applicationloadlevel-changes-lighting-for-some-rea.html

Unity/에러

왜 나는 Tools 메뉴가 없을까

A+ Assets Explorer Freehttps://www.assetstore.unity3d.com/kr/#!/content/68761 A+ Assets Explorer Free를 다운 받고 실행시켜보고 싶었다.근데 어떻게 실행시키는 건지도 모르겠다. 설명 사진에는 Tools 메뉴를 선택하고 뭘 하는데 나는 그런 메뉴가 없다 인터넷 검색을 해보니까Tools는 직접 c# 스크립트를 작성해서 추가하는 거라고 한다.

개발세탁기
'Unity/에러' 카테고리의 글 목록