StaticFindObjectSafe

Internal version of StaticFindObject that will not assert on GIsSavingPackage or [IsGarbageCollecting()](API\Runtime\CoreUObject\UObject\IsGarbageCollecting)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp

Syntax

UObject * StaticFindObjectSafe
(
    UClass * Class,
    UObject * InOuter,
    const TCHAR * Name,
    bool ExactClass
)

Remarks

Internal version of StaticFindObject that will not assert on GIsSavingPackage or IsGarbageCollecting()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss