Linker Error with GetMorphTargetDelta on UMorphTarget

Im getting a linker error in my plugin on the function GetMorphTargetDelta in UMorphTarget from my understanding morph target is in the engine module which has been included is there another module i need to add?

same here… Didi you solve it?

UMorphTarget is MinimalAPI so you can’t link to it on normal builds of the engine, something you can not do with the plugin. You need to find way arounf it or suggest in feedback forum (or pull request) for removal of MinimalAPI in that class if you got good argument.

I was eventually able to bypass it and get what I needed by copy/pasting the definition of the function. I needed the vertices so:

UMorphTarget* TheMorphTarget = InSkinnedMeshComponent->FindMorphTarget(morphTargetNames[MorphTargetIndex]);
FMorphTargetLODModel& MorphModel = TheMorphTarget->MorphLODModels[0];
auto Deltas = MorphModel.Vertices;