Added logging when a blueprint component cannot be deleted when called from blueprints

#jira UE-117855
#rb trivial
#rnx

[CL 16665192 by ben hoffman in ue5-main branch]
This commit is contained in:
ben hoffman
2021-06-14 17:50:08 -04:00
parent 66327d7226
commit 2c4b1df587

View File

@@ -1092,6 +1092,10 @@ int32 USubobjectDataSubsystem::DeleteSubobjects(const FSubobjectDataHandle& Cont
}
}
}
else
{
UE_LOG(LogSubobjectSubsystem, Warning, TEXT("Cannot remove subobject '%s' because it is the default scene root!"), *Data->GetDisplayString());
}
}
}
}