Remove assert that fires when we try to point an already valid FEditorBulkData to reference older style bulkdata.

#rb trivial
#rnx
#jira UE-158276
#preflight 62c415a0d94b57687c2c8c20

- The assert isn't really required since we reset the editor bulkdata before we change it to reference the older style bulkdata. So the only purpose that the assert serves is to force the caller to always call ::Reset anyway.

[CL 20940185 by paul chipchase in ue5-main branch]
This commit is contained in:
paul chipchase
2022-07-05 07:03:02 -04:00
parent ab5b61a88a
commit 4318ff3dd9
@@ -659,10 +659,6 @@ void FEditorBulkData::LogRegisterError(UE::BulkDataRegistry::ERegisterResult Val
void FEditorBulkData::CreateFromBulkData(FBulkData& InBulkData, const FGuid& InGuid, UObject* Owner)
{
TRACE_CPUPROFILER_EVENT_SCOPE(FEditorBulkData::CreateFromBulkData);
checkf(!BulkDataId.IsValid(),
TEXT("Calling ::CreateFromBulkData on a bulkdata object that already has a valid identifier! Package: '%s'"),
*InBulkData.GetPackagePath().GetDebugName());
Reset();