[ue] Do not access TrackEntry during Destroy, as it may be invalid at that point.

This commit is contained in:
Mario Zechner 2024-12-06 12:17:08 +01:00
parent ab545be08c
commit fa0e27b555

View File

@ -83,9 +83,6 @@ void USpineSkeletonAnimationComponent::BeginPlay() {
}
void UTrackEntry::BeginDestroy() {
if (entry) {
entry->setRendererObject(nullptr);
}
Super::BeginDestroy();
}