gc.VerifyUObjectsAreNotFGCObjects

gc.VerifyUObjectsAreNotFGCObjects

#Overview

name: gc.VerifyUObjectsAreNotFGCObjects

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 1 C++ source file.

#Summary

#Setting Variables

#References In INI files

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

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp:3636

Scope: file

Source code excerpt:

static int32 GVerifyUObjectsAreNotFGCObjects = 1;
static FAutoConsoleVariableRef CVarVerifyUObjectsAreNotFGCObjects(
	TEXT("gc.VerifyUObjectsAreNotFGCObjects"),
	GVerifyUObjectsAreNotFGCObjects,
	TEXT("If true, the engine will throw a warning when it detects a UObject-derived class which also derives from FGCObject or any of its members is derived from FGCObject"),
	ECVF_Default
);

FObjectInitializer::FObjectInitializer()