Skip to content
Snippets Groups Projects
Commit a23c7f93 authored by Konstantin Kühlem's avatar Konstantin Kühlem
Browse files

Potential fix for crash in BeginPlay when loading a map the first time in the...

Potential fix for crash in BeginPlay when loading a map the first time in the editor session through the study framework, if it has library depedencies
parent 55cf2abb
No related branches found
No related tags found
1 merge request!11Potential fix for crash in BeginPlay when loading a map the first time in the...
......@@ -456,7 +456,7 @@ void USFGameInstance::PreloadAllMaps(const TArray<USFCondition*>& Conditions)
for (FString Map : Maps)
{
LoadPackage(nullptr, *Map, LOAD_None);
LoadPackage(nullptr, *Map, LOAD_DeferDependencyLoads);
}
FSFLoggingUtils::Log("Sucessfully preloaded all maps.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment