본문 바로가기

분류 전체보기129

Unity Boxcast의 Size가 1 이상일때 충돌 판정이 잘 안되는 이유? Raycast를 Box형태로 쏴서 감지하는 방법. Physics.BoxCast(transform.position, transform.lossyScale / 2, transform.forward, out hitInfo, transform.rotation, range) (레이저를 발사할 위치, 사각형의 각 좌표의 절판 크기, 발사 방향, 충돌 결과, 회전 각도, 최대 거리) transform.lossyScale는 부모 오브젝트의 절반에 해당하는 크기이다. Vector3 boxSize = new Vector3(0.5f, 0.5f,0.5f); transform.lossyScale 대신에 Boxsize를 사용 할 수 있다. 주의점 transform.lossyScale/1f 또는 transform.lossyScal.. 2023. 6. 14.
Addressable Asset Package 업데이트 시 GUI 에러 해결 NullReferenceException: Object reference not set to an instance of an object UnityEditor.AddressableAssets.GUI.AddressableAssetSettingsInspector.OnInspectorGUI () (at ./Library/PackageCache/com.unity.addressables@1.21.2/Editor/GUI/AddressableAssetSettingsInspector.cs:271) 위 오류 해결방법 Addressable Asset Package를 업데이트 할 때 오류가 발생할 수 있다. GUI에 문제가 생기며, Play Mode Script or Build의 Dropdown이 되지 않는다. 이 때 Pa.. 2023. 6. 11.
구글 애즈 캠페인 삭제 1) 상단의 모든 캠페인을 클릭한다. 2) 삭제를 원하는 캠페인을 선택하고, 수정, 삭제 도움이 되셨다면 아래 링크는 WONILMAX에서 개발한 3D 스토리 RPG 게임🎮입니다. 오픈 월드에서 펼쳐지는 흥미진진한 모험을 지금 경험하세요!🐰💙 https://play.google.com/store/apps/details?id=com.wonilmax.daisia 데이지아 - Google Play 앱 3D 오픈월드 스토리 RPG play.google.com 2023. 6. 10.
Unity 3D: UnauthorizedAccessException: Access to the path is denied. Mobile Platform에 저장소에 파일을 Save시에 다음과 같은 오류가 발생하면 Android Manifest 파일에 다음과 같은 문구를 넣어 주어야 한다. 일기 쓰기 권한 추가를 Applicaiton 윗단에 넣어주면 된다. xmlns:tools="http://schemas.android.com/tools"> 2023. 5. 14.
Unity NavMeshSurface Play시에도 보이는 현상 해결. Scene 창에 보면 Show NavMesh를 체크해제 하면 Runtime에서 보이지 않습니다. 업데이트 되고 바뀌었네요. 한참 찾았습니다. 2023. 5. 9.
Visual Studion Winform 해상도 DPI – 다른 컴퓨터에서 이미지, UI 등이 크게되는 현상 - 경고 메시지 Scaling on your main display is set to 150%. Restart Visual Studion with 100% scaling. Help me decide - 원인 현재 윈도우 화면 배율 설정이 100%가 아닌 경우 발생 주의! 이 상태에서 디자인한 윈도우 폼은 DPI가 다른 환경에서 실행시 폼 안의 요소들이 겹쳐지거나 폼을 벗어날 수 있음 참고 : 100%(96DPI), 125%(120DPI), 150%(144DPI) - 해결 방법: 비쥬얼 스튜디오를 끈 상태에서 바탕화면 마우스 오른쪽 클릭 > 디스플레이 설정 > 배율 및 레이아웃 100% 로 설정 > Visual Studio를 켜서 이 환경에서 개발을해야 UI가 변형이 일어나지 않는다. 2023. 5. 4.