[내일배움캠프 Day37] TWeakObjectPtr
·
내일배움캠프/TIL
과제를 진행하면서 위와 같이 에러가 발생하였는데, 맵이 바뀌면서 기존의 파티클이 제거되었는데도 파티클을 없애려고 하는 것이 원인이었습니다. 아래 언리얼 공식 문서를 보면 자세하게 나와있습니다.https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-object-handling-in-unreal-engine UParticleSystemComponent* Particle = nullptr;GetWorld()->GetTimerManager().SetTimer( DestroyParticleTimerHandle, [Particle]() { if (Particle) { Particle->Des..