[UE5] C++ AActor::Destroy() not working in BeginPlay()
·
게임개발/Unreal Engine
언리얼 개발 도중 액터를 파괴하려 Destroy를 호출했으나 작동하지 않았다. 다른 액터에서는 잘 되었는데 BeginPlay에 넣은 Destroy()만 안됐다.   호출 시점이 문제인건가, 아니면 다른 것이 문제인건가 고민하다 아래 링크를 발견했다. https://www.reddit.com/r/unrealengine/comments/jt5s61/c_aactordestroy_not_destroying_actor/ From the unrealengine community on RedditExplore this post and more from the unrealengine communitywww.reddit.com C++에서 Super::BeginPlay()를 호출해야 정상적으로 작동한다는 말이 있어 그대로..
[UE5] Unreal Engine C++ API References
·
게임개발/Unreal Engine
언리얼에서 C++로 작업하다 보면 각 컴포넌트들에 대한 정보나 헤더 파일들이 필요한 경우가 있다. 일일히 다 찾기에는 귀찮기 때문에, 공식 레퍼런스에서 찾으면 쉽게 찾을 수 있다.https://dev.epicgames.com/documentation/en-us/unreal-engine/API 아래는 블루프린트 API References이다.https://dev.epicgames.com/documentation/en-us/unreal-engine/BlueprintAPI 또한, 전반적인 언리얼 개념들에 대한 문서도 있다.https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5-4-documentation
[UE5] Root Motion with custom mesh not working
·
게임개발/Unreal Engine
언리얼에서 파쿠르를 만드려고 하는데 아무리 해도 몽타주에서 Root Motion이 적용되지 않았다. 아래는 시도한 방법들이다. 1. 시퀀스에서 Root Motion 체크 확인시퀀스의 Root Motion, Force root lock을 체크되어있는지 확인한다.  Animation 창에서 Character - Animation - (Ignore)에서 Loop로이렇게 하면 root motion 체크된 상태에서 실제로 움직이는지 확인할 수 있다. 2. Animation BP애니메이션 BP에서 Root Motion을 사용하도록 설정했는지 확인한다. Animation BP -> Anim Preview Edit -> Root motionRoot Motion From Everything 혹은 Root Motion f..
[Unreal Engine 5] Package Error 정복하기(malformed tag, unknown structure, modify UObject)
·
게임개발/Unreal Engine
언리얼로 개발해서 마무리 즈음에 패키지를 하려고 하니 다양한 오류가 반겨왔다. 패키지는 Variant: Windows Config: Shipping Data Build: By the book 설정으로 진행했다. 1. has malformed tag LogAssetRegistry: Error: Package C:/Development/Hallucination/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/9/V1/RDGDCZBLTS71E2YXHI0YFN.uasset has malformed tag 해결방법: 그냥 단순히 저 파일을 삭제해서 해결했다. 2. Unknown structure LogProperty: Error: FStructPropert..