Unresolved symbol. UStaticMeshDescription. Help

I want to use a UStaticMeshDescription* as a parameter in a function.
I have added #include “StaticMeshDescription.h” to the .cpp and .h file.

But I get an unresolved symbol error, does anyone know why that might be?

Error LNK2019 unresolved external symbol “__declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UStaticMeshDescription_NoRegister(void)” (_imp?Z_Construct_UClass_UStaticMeshDescription_NoRegister@@YAPEAVUClass@@anonymous_user_9674a66c) referenced in function “void __cdecl `dynamic initializer for ‘public: static struct UE4CodeGen_Private::FObjectPropertyParams const Z_Construct_UFunction_UMyBPFunctions_CalculateNormals_Statics::NewProp_aMeshDescription’’(void)” (??__E?NewProp_aMeshDescription@Z_Construct_UFunction_UMyBPFunctions_CalculateNormals_Statics@@2UFObjectPropertyParams@UE4CodeGen_Private@@anonymous_user_31e84eb0@@YAXXZ) MyProject3 C:\Users\username\Documents\Unreal Projects\MyProject3\Intermediate\ProjectFiles\Module.MyProject3.gen.2_of_3.cpp.obj 1

Try adding “StaticMeshDescription” to the PrivateDependencyModuleNames in your MyProject.Build.cs file.
Usually, when you get an “Unresolved symbol” error, the solution is to add a module to that list.

Hope this helps

The include is not your problem. Show us your cpp and h files. Have you made a some lib called MyBPFunctions ?

Thankyou, that was it! For anyone else with this problem, you will probably want to add “MeshDescription” to Build.cs file, if you are working with this kind of thing.