UObject::PostDuplicate

Called after duplication & serialization and before PostLoad.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UObject::PostDuplicate()

UWorldPartitionRuntimeSpatialHashCell::PostDuplicate()

UGeometryCacheUsdComponent::PostDuplicate()

ULandscapeInfoMap::PostDuplicate()

UMoviePipelineConfigBase::PostDuplicate()

ULiveLinkLensController::PostDuplicate()

UWaterSplineComponent::PostDuplicate()

UMovieSceneEventSectionBase::PostDuplicate()

UMaterialGraphNode_Comment::PostDuplicate()

ULensDistortionComponent::PostDuplicate()

UDialogueVoice::PostDuplicate()

UK2Node_WidgetAnimationEvent::PostDuplicate()

UMaterialExpressionFunctionOutput::PostDuplicate()

UEnvQuery::PostDuplicate()

UAnimCurveCompressionCodec::PostDuplicate()

USoundCueGraphNode::PostDuplicate()

UMaterialGraphNode::PostDuplicate()

UK2Node_Event::PostDuplicate()

UK2Node_WidgetAnimationEvent::PostDuplicate()

UMaterialExpressionNamedRerouteDeclaration::PostDuplicate()

UNiagaraComponentRendererProperties::PostDuplicate()

UUserDefinedEnum::PostDuplicate()

UMetasoundEditorGraphNode::PostDuplicate()

ULiveLinkCameraController::PostDuplicate()

UK2Node_CallFunction::PostDuplicate()

UConversationDatabase::PostDuplicate()

ULevelSequence::PostDuplicate()

UAnimDataModel::PostDuplicate()

UUserDefinedStruct::PostDuplicate()

UMaterialExpressionFunctionInput::PostDuplicate()

UDialogueWave::PostDuplicate()

UPaperSpriteAtlas::PostDuplicate()

AWaterBody::PostDuplicate()

AInstancedFoliageActor::PostDuplicate()

UWorldComposition::PostDuplicate()

AUsdStageActor::PostDuplicate()

UUserWidget::PostDuplicate()

UMediaBundle::PostDuplicate()

UControlRigBlueprint::PostDuplicate()

ALandscape::PostDuplicate()

UMovieSceneSequence::PostDuplicate()

ULevelSequence::PostDuplicate()

UWaterBodyComponent::PostDuplicate()

UWidgetBlueprint::PostDuplicate()

UMaterialExpression::PostDuplicate()

UMaterialExpressionFunctionOutput::PostDuplicate()

UMaterialExpressionNamedRerouteDeclaration::PostDuplicate()

UMaterialExpressionFunctionInput::PostDuplicate()

ULandscapeSplineControlPoint::PostDuplicate()

UTimelineTemplate::PostDuplicate()

UMaterialInterface::PostDuplicate()

UMaterial::PostDuplicate()

ULandscapeSplineSegment::PostDuplicate()

ACompositingElement::PostDuplicate()

UStaticMeshComponent::PostDuplicate()

URemoteControlPreset::PostDuplicate()

UModel::PostDuplicate()

UMovieSceneSection::PostDuplicate()

UMovieSceneEventSectionBase::PostDuplicate()

ULandscapeComponent::PostDuplicate()

ULevel::PostDuplicate()

UBlueprint::PostDuplicate()

UControlRigBlueprint::PostDuplicate()

UWidgetBlueprint::PostDuplicate()

UMediaPlayer::PostDuplicate()

USkeleton::PostDuplicate()

UMaterial::PostDuplicate()

UStaticMesh::PostDuplicate()

UPrimitiveComponent::PostDuplicate()

UGeometryCacheUsdComponent::PostDuplicate()

UWaterSplineComponent::PostDuplicate()

UWaterBodyComponent::PostDuplicate()

UStaticMeshComponent::PostDuplicate()

ULandscapeComponent::PostDuplicate()

UWorld::PostDuplicate()

References

Module

CoreUObject

Header

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

Include

#include "UObject/Object.h"

Syntax

virtual void PostDuplicate
(
    bool bDuplicateForPIE
)

Remarks

Called after duplication & serialization and before PostLoad. Used to e.g. make sure UStaticMesh's UModel gets copied as well.

NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.