FArchiveUObject::SerializeLazyObjectPtr

Lazy object pointer serialization.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveUObject.h

Include

#include "Serialization/ArchiveUObject.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/ArchiveUObject.cpp

Syntax

static FArchive & SerializeLazyObjectPtr
(
    FArchive & Ar,
    FLazyObjectPtr & Value
)

Remarks

Lazy object pointer serialization. Lazy object pointers only have weak references to objects and won't serialize the object when gathering references for garbage collection. So in many cases, you don't need to bother serializing lazy object pointers. However, serialization is required if you want to load and save your object.

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