본문 바로가기

3Dsoftware/Unity 3D55

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.
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.
unable to resolve reference 'unityeditor.ios.extensions.xcode assembly 'assets/externaldependencymanager/editor/1.2.167/google.iosresolver.dll' will not be loaded due to errors: unable to resolve reference 'unityeditor.ios.extensions.xcode'. is the assembly missing or incompatible with the current platform? reference validation can be disabled in the plugin inspector. 다음과 같은 오류 해결 방법: 내가 새로 설치한 버전이 iOS가 설치가 안되어서 그렇다. 2023. 2. 16.
2022.1.10f1 In App Purchasing 4.1.5 version update 구글 스토어에서 결제라이브러리 버전 4이상으로 업그레이드 하라고 해서 찾아보니 4.1.5 version >> 4.4.1version 으로 업데이트 하라는 글이 있습니다. 유니티는 2022.1.10f1 버전은 패키지메니저를 보면 4.1.5v 말고는 보이지 않습니다. 방법은 한가지... 2022.1.10f1 번전을 2.22.2.6f1 으로 업그레이드 하는 방법밖에는 없습니다. 저의 경우에는 In App Purchasing 4.5.2로 업그레이드 되었습니다. 도움이 되셨다면 아래 링크는 WONILMAX에서 개발한 3D 스토리 RPG 게임🎮입니다. 오픈 월드에서 펼쳐지는 흥미진진한 모험을 지금 경험하세요!🐰💙 https://play.google.com/store/apps/details?id=com.wonilma.. 2023. 2. 16.