소스 검색

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

Mario Zechner 9 달 전
부모
커밋
fa0e27b555
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      spine-ue/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonAnimationComponent.cpp

+ 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();
 }