s.AsyncLoadingThreadEnabled
s.AsyncLoadingThreadEnabled
#Overview
name: s.AsyncLoadingThreadEnabled
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Placeholder console variable, currently not used in runtime.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:1499, section: [/Script/Engine.StreamingSettings]
- INI Section:
/Script/Engine.StreamingSettings
- Raw value:
True
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:565
Scope: file
Source code excerpt:
static int32 GAsyncLoadingThreadEnabled = 0;
static FAutoConsoleVariableRef CVarAsyncLoadingThreadEnabled(
TEXT("s.AsyncLoadingThreadEnabled"),
GAsyncLoadingThreadEnabled,
TEXT("Placeholder console variable, currently not used in runtime."),
ECVF_Default
);
static int32 GAsyncLoadingAlwaysProcessPackages = 0;
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp:129
Scope (from outer to inner):
file
function FAsyncLoadingThreadSettings::FAsyncLoadingThreadSettings
Source code excerpt:
bool bConfigValue = FPlatformProperties::RequiresCookedData() ? true : false;
GConfig->GetBool(SectionName, TEXT("s.AsyncLoadingThreadEnabled"), bConfigValue, GEngineIni);
bool bCommandLineDisable = FParse::Param(FCommandLine::Get(), TEXT("NoAsyncLoadingThread"));
bool bCommandLineEnable = FParse::Param(FCommandLine::Get(), TEXT("AsyncLoadingThread"));
bAsyncLoadingThreadEnabled = bCommandLineEnable || (bConfigValue && FApp::ShouldUseThreadingForPerformance() && !bCommandLineDisable);
// if we are on an uncooked platform the default value for async loading is disabled while it is enabled for cooked platform
bConfigValue = FPlatformProperties::RequiresCookedData() ? true : false;