UBlueprint::PostDuplicate

Called after duplication & serialization and before PostLoad.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Blueprint.h

Include

#include "Engine/Blueprint.h"

Source

/Engine/Source/Runtime/Engine/Private/Blueprint.cpp

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.