diff --git a/Source/TouchEngine/Private/Blueprint/TouchEngineComponent.cpp b/Source/TouchEngine/Private/Blueprint/TouchEngineComponent.cpp index b108f394..df0ddd8c 100644 --- a/Source/TouchEngine/Private/Blueprint/TouchEngineComponent.cpp +++ b/Source/TouchEngine/Private/Blueprint/TouchEngineComponent.cpp @@ -194,7 +194,7 @@ void UTouchEngineComponentBase::PostEditChangeProperty(FPropertyChangedEvent& Pr if (IsValid(ToxAsset)) { const UWorld* World = GetWorld(); - if (!World->IsPlayInEditor()) + if (!IsValid(World) || !World->IsPlayInEditor()) { LoadTox(); }