Răsfoiți Sursa

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

Mario Zechner 8 luni în urmă
părinte
comite
fa0e27b555

+ 0 - 3
spine-ue/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonAnimationComponent.cpp

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