Void ASceneCaptureCube::PostActorCreated() cause unresolve symbol in linking

UCLASS()
class AMySceneCaptureCube : public ASceneCaptureCube
{
GENERATED_BODY()
public:
AMySceneCaptureCube(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get())
}

AMySceneCaptureCube::AMySceneCaptureCube(const FObjectInitializer& ObjectInitialzier)
	: Super(ObjectInitialzier)
{
}

error LNK2001: unresolved external
symbol “public: virtual void __cdecl
ASceneCaptureCube::PostActorCreated(void)”
(?PostActorCreated@ASceneCaptureCube@@UEAAXXZ)

I think put ENGINE_API PostAcorCreated method will resolve the problem.

UCLASS(hidecategories = (Collision, Material, Attachment, Actor), MinimalAPI)
class ASceneCaptureCube : public ASceneCapture
...............
ENGINE_API virtual void PostActorCreated() override;
...............

Hey -

Since the class is marked as MINIMAL_API I’m not certain if this specific function is meant to be declared as ENGINE_API. I have entered a bug report (UE-22610) to investigate if this is intended behavior.

Cheers