FindObjectSafe

Find an object without asserting on GIsSavingPackage or [IsGarbageCollecting()](API\Runtime\CoreUObject\UObject\IsGarbageCollecting)

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Syntax

template<class T>
T * FindObjectSafe
(
    UObject * Outer,
    const TCHAR * Name,
    bool ExactClass
)

Remarks

Find an object without asserting on GIsSavingPackage or IsGarbageCollecting()

See Also