Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/ReferenceDebugging.h |
| Include | #include "Misc/ReferenceDebugging.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/ReferenceDebugging.cpp |
void FindPackageReferencesInObject
(
const UObject * RootObject,
const TArray < FName > & PackagesReferenced,
TFunctionRef < void, const FString &)> Callback
)
Remarks
Given a root object, this function will call the callback every time it encounters a reference in the root object (including all inlined/instanced UObjects. The returned references will be in an easily understood debugging format so that they're easy to understand the context.
For example, Actions2->ObjectActivitiesInfo[0].TargetReference
Where TargetReference was one of the listed PackagesReferenced. The point of this function is to assist in the reporting of references between objects you need to show the developer.