Fixed crash when loading maps using ZenLoader.

[REVIEW] [at]Carl.Magnus.Nordin

[CL 23071869 by daniel lamb in ue5-main branch]
This commit is contained in:
daniel lamb
2022-11-10 01:10:31 -05:00
parent 937b6bd45a
commit bad5e26212
@@ -4364,6 +4364,10 @@ void FAsyncPackage2::CreateLinker(const FLinkerInstancingContext* InstancingCont
Linker = FLinkerLoad::CreateLinkerAsync(LoadContext, LinkerRoot, Desc.PackagePathToLoad, LinkerFlags, InstancingContext, TFunction<void()>([]() {}));
#endif
}
else
{
Linker->LoadFlags |= LOAD_Async | LOAD_NoVerify | LOAD_SkipLoadImportedPackages;
}
check(Linker);
check(Linker->LinkerRoot == LinkerRoot);
check(!Linker->AsyncRoot);