Skip to content
Snippets Groups Projects
Commit 20268572 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

Merge branch 'thesis/ma-kuehlem' into '5.3'

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

See merge request !11
parents 55cf2abb a23c7f93
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) ...@@ -456,7 +456,7 @@ void USFGameInstance::PreloadAllMaps(const TArray<USFCondition*>& Conditions)
for (FString Map : Maps) for (FString Map : Maps)
{ {
LoadPackage(nullptr, *Map, LOAD_None); LoadPackage(nullptr, *Map, LOAD_DeferDependencyLoads);
} }
FSFLoggingUtils::Log("Sucessfully preloaded all maps."); 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