Hi, I’m trying to ship my game with a custom AnimGraph node, I created another module alongside my game, but when a click lunch buttom I got this error:
LogInit:Display: Starting Game.LogProperty:Error: Struct type unknown for property ‘StructProperty /Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP_C:AnimGraphNode_Mirror_C9D41BB04B75E134568A5EA4085EC7DD’; perhaps the USTRUCT() was renamed or deleted?
within the editor everything works fine.
my folder structure:
I appreciate any help.
Thks!
Hi again, I figure it out!
I put the AnimNode in the main module and left only the AnimGraphNode in the editor module, I was trying to do it, but gave me a compilation error.
That’s because I had forgotten to inform a macro export for my AnimNode class, like this “MYGAME_API CLASSNAME”, then the editor module couldn’t access the class in the main module, and was also necessary to put my main module in PublicDependencyModuleNames in Build.cs from the editor module .
So now it works!
Sorry for my english, I hope this help someone.