Download

Unresolved symbol error using UStaticMeshDescription.

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, could anyone help with this?

Error LNK2019 unresolved external symbol “__declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UStaticMeshDescription_NoRegister(void)” (_imp?Z_Construct_UClass_UStaticMeshDescription_NoRegister@@YAPEAVUClass@@XZ) 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@@B@@YAXXZ) MyProject3 C:\Users\username\Documents\Unreal Projects\MyProject3\Intermediate\ProjectFiles\Module.MyProject3.gen.2_of_3.cpp.obj 1