Fixing crash when the engine tries to open content saved with a newer engine version

#jira UE-71880
#rb none
#lockdown cristina.riveron

[CL 5496341 by Robert Manuszewski in 4.22 branch]
This commit is contained in:
Robert Manuszewski
2019-03-21 16:44:19 -04:00
parent c5db6b3648
commit 47d684cf73
@@ -715,9 +715,6 @@ FLinkerLoad* GetPackageLinker
// Create new linker.
if( !Result )
{
// @todo: RM so never create the context below?
check(InExistingContext && InExistingContext->HasStartedLoading());
// we will already have found the filename above
check(NewFilename.Len() > 0);
TRefCountPtr<FUObjectSerializeContext> LoadContext(FUObjectThreadContext::Get().GetSerializeContext());