Skip to content
Snippets Groups Projects

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

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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.");
}
Loading