How to connect "MLDeformerFramework" module correctly?

I encountered an issue including #include "MLDeformerComponent.h" when trying to inherit from UMLDeformerComponent. It seems like you forgot to add the following in the “.plugin”:

PublicIncludePaths.AddRange ( new string[] { "$(ModuleDir)/Public" } );Did you intentionally restrict this functionality, or was it an oversight?

What I did:

I connected the plugins:

{ "Name": "NeuralMorphModel", "Enabled": true }, { "Name": "MLDeformerFramework", "Enabled": true }, { "Name": "VertexDeltaModel", "Enabled": true, "SupportedTargetPlatforms": [ "Win64", "Linux", "Mac" ] }in the game’s uproject, and also added: "MLD

Steps to Reproduce

Hi Igor,

In your YourProject.build.cs, please try adding the following line:

PrivateDependencyModuleNames.AddRange(new string[] { "MLDeformerFramework" });

I tried with that and that seems to work ok (next to the things you mentioned above, but without the PublicIncludesPath change).

Please let me know if that works for you.

Also, just in case: You probably don’t want to add the VertexDeltaModel, as that is just some example to show some GPU related things, but shouldn’t really be used in production.

Cheers,

John