Composure unresolved external symbol "private: static class UClass * __cdecl UMultiPassChromaKeyer::GetPrivateStaticClass(void)

UTexture* PassResult = nullptr;
UCompositingElementTransform* elementTransform = Cast(MediaPlate->FindTransformPass(UCompositingElementTransform::StaticClass(), PassResult, MultiPassChromaKeyerName);

I success to get the elementTransform, but it occurs to an error when I cast it to UMultiPassChromaKeyer.

error LNK2019: unresolved external symbol "private: static class UClass * __cdecl UMultiPassChromaKeyer::GetPrivateStaticClass(void)"

Maybe UMultiPassChromaKeyer is not exported,so I copy the codes to my project.But it still has errors:

error LNK2019: unresolved external symbol "public: class UTextureRenderTarget2D * __cdecl FInheritedTargetPool::RequestRenderTarget(float)"
error LNK2019: unresolved external symbol "public: bool __cdecl FInheritedTargetPool::ReleaseRenderTarget(class UTextureRenderTarget2D *)"

How can I solve this problem?

Im facing this issue too

Up

It needs to be added to the referenced module class YourModuleName_API

2 Likes

Can you explain this in more detail?