s.FlushStreamingOnExit

s.FlushStreamingOnExit

#Overview

name: s.FlushStreamingOnExit

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).

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:1512, section: [/Script/Engine.StreamingSettings]

#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:581

Scope: file

Source code excerpt:

static int32 GFlushStreamingOnExit = 1;
static FAutoConsoleVariableRef CFlushStreamingOnExit(
	TEXT("s.FlushStreamingOnExit"),
	GFlushStreamingOnExit,
	TEXT("Placeholder console variable, currently not used in runtime."),
	ECVF_Default
);

static int32 GEventDrivenLoaderEnabledInCookedBuilds = 0;

#Loc: <Workspace>/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:5098

Scope (from outer to inner):

file
function     void FEngineLoop::Exit

Source code excerpt:

		if (GConfig)
		{
			FBoolConfigValueHelper FlushStreamingOnExitHelper(TEXT("/Script/Engine.StreamingSettings"), TEXT("s.FlushStreamingOnExit"), GEngineIni);
			bFlushOnExit = FlushStreamingOnExitHelper;
		}
		if (bFlushOnExit)
		{
			FlushAsyncLoading();
		}