mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[ue] Do not access TrackEntry during Destroy, as it may be invalid at that point.
This commit is contained in:
parent
ab545be08c
commit
fa0e27b555
@ -83,9 +83,6 @@ void USpineSkeletonAnimationComponent::BeginPlay() {
|
||||
}
|
||||
|
||||
void UTrackEntry::BeginDestroy() {
|
||||
if (entry) {
|
||||
entry->setRendererObject(nullptr);
|
||||
}
|
||||
Super::BeginDestroy();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user