개발일지/UE4 6

Unreal Engine UPL(Unreal Plugin Language) : 모바일 네이티브 코드 사용법과 멀티 플랫폼 개발에 좋은 구조

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 5월 4일 언리얼 엔진으로 모바일 앱을 개발하다보면 OS에 종속적인 기능을 만들어야 할 때가 있다. 예를 들어 사진첩에서 사진을 가져오는 것이 있다. 안드로이드에서는 `Intent`와 `StartActivity`를 사용해서 다른 어플리케이션을 실행하고 데이터를 주고 받으며, 아래와 같은 코드를 통해 갤러리 앱에서 사진 데이터를 가져올 수 있다. ```Java 갤러리 앱 실행 //Start Gallery Activity Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); startActi..

개발일지/UE4 2023.08.18

UE4 XCode 컴파일 에러 : Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically.

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 4월 11일 Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). 언리얼 프로젝트를 개발하던 중 IOS로 앱을 패키징하기 위해 Mac에서 컴파일을 시도했지만 ..

개발일지/UE4 2023.08.18

UE4 Xcode build error : variable “LayerNames” set but not used [-Werror,-Wunused-but-set-variable]

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2022년 11월 30일 출처 : https://velog.io/@hon454/Unreal-macOS-에서-빌드-시-variable-LayerNames-set-but-not-used-Werror-Wunused-but-set-variable-에러가-발생하는-경우 MacOS 환경에서 XCode로 UE4 프로젝트를 빌드할 때 아래 에러가 나온다. variable “LayerNames” set but not used [-Werror,-Wunused-but-set-variable] 해결책은 *.build.cs 파일에 아래 코드를 삽입해주는 것이다. bOverrideBuildEnvironment = true; AdditionalCompilerArgum..

개발일지/UE4 2023.08.18

UE4 Xcode build error : Trigraph converted to '[' character

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2023년 3월 22일 윈도우에서 UE4.27 프로젝트를 다루다가 IOS용 패키징을 위해서 Mac에 xcode 로 빌드했을 때 나타난 에러이다. Trigraph는 일부 문자 세트에서 단일 문자를 나타내기 위해 사용되는 세 개의 문자로 이루어진 시퀀스로, C++ 코드에서 예기치 않은 동작을 일으킬 수 있다고 한다. xcode에서 Trigraph를 비활성화하여 빌드한다면 문제를 해결할 수 있을 것이다. 내 경우에는 unused-but-not-set-variable 문제와 함께 나타나 아래 코드를 *.target.cs 에 추가했다. bOverrideBuildEnvironment = true; AdditionalCompilerArguments = ..

개발일지/UE4 2023.08.18

UE4 오류 로그 # 컴포넌트 디테일 패널 사라짐. Component detail panel disappears

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2022년 7월 15일 동일 증상 링크 : Component detail panel disappears - raddit UE4 개발 중 발견한 버그이다. UPROPERTY 매크로를 사용해서 컴포넌트에 프로퍼티를 지정해주면 블루프린트 에디터 우측 디테일 패널에 속성을 보여주거나 보여주지 않을 수 있다. 하지만 가끔 디테일 패널이 안보이는 문제가 발생하기도 한다. 해당 컴포넌트와 관련있는 코드가 정상적으로 작동하지 않는 경우도 있다. 해결 방법 파일 -> 블루프린트 부모변경 기능을 사용해서 상위 클래스로 부모를 변경한 후 다시 원래대로 되돌리는 방법이 있다. 원문 This is a fairly common bug since UE4, happen..

개발일지/UE4 2023.08.18

UE4 오류 로그 # VS프로젝트 생성 오류

[velog에서 블로그 이전하며 가져온 글입니다] 작성 일자 : 2022년 6월 29일 원문 원글 링크 I use Git and two computers. I use the branch 4.27-plus on my desktop and the branch 4.27.2-release on my laptop. I created my project on my desktop and download it into my laptop. But i can't open or build my project. The UE4 show me the message below with Yes/No buttons. Missing fps Modules The following modules are missing or built wit..

개발일지/UE4 2023.08.18