# link error when using some functions of PropertyEditor

**URL:** <https://forums.unrealengine.com/t/link-error-when-using-some-functions-of-propertyeditor/487272>\
**Category:** Plugins\
**Tags:** linker-error, unreal-engine, Plugins, question\
**Created:** [August 10, 2021, 6:09am UTC](https://forums.unrealengine.com/t/link-error-when-using-some-functions-of-propertyeditor/487272 "2021-08-10T06:09:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ProjectMiao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ProjectMiao](https://forums.unrealengine.com/u/ProjectMiao)\
**Post date:** [August 10, 2021, 6:09am UTC](https://forums.unrealengine.com/t/link-error-when-using-some-functions-of-propertyeditor/487272/1 "2021-08-10T06:09:39Z")

</div>

FPropertyEditorModule& PropertyEditorModule = FModuleManager::Get().GetModuleChecked(“PropertyEditor”);  
FPropertyTypeLayoutCallback PropertyTypeLayoutCallback = PropertyEditorModule.GetPropertyTypeCustomization(CachedValueProperty-\>GetProperty(), \*CachedValueProperty.Get(), FCustomPropertyTypeLayoutMap());  
if (PropertyTypeLayoutCallback.IsValid())  
{  
Customization = PropertyTypeLayoutCallback.GetCustomizationInstance();  
}

the compiler failed to link FPropertyEditorModule::GetPropertyTypeCustomization() and FPropertyTypeLayoutCallback::GetCustomizationInstance()

I have already added “PropertyEditor” to PublicDependencyModuleNames of my plugin module’s Build.cs and calling some other functions like FPropertyEditorModule::RegisterCustomClassLayout() is ok

```
  LNK2019: unresolved external symbol "public: class TSharedRef<class IPropertyTypeCustomization,0> __cdecl FPropertyTypeLayoutCallback::GetCustomizationInstance(void)const " (?GetCustomizationInstance@FPropertyTypeLayoutCallback@@QEBA?AV?$TSharedRef@VIPropertyTypeCustomization@@$0A@@@XZ) referenced in function ....................

  LNK2019: unresolved external symbol "public: struct FPropertyTypeLayoutCallback __cdecl FPropertyEditorModule::GetPropertyTypeCustomization(class FProperty const *,class IPropertyHandle const &,class TMap<class FName,struct FPropertyTypeLayoutCallbackList,class FDefaultSetAllocator,struct TDefaultMapHashableKeyFuncs<class FName,struct FPropertyTypeLayoutCallbackList,0> > const &)" (?GetPropertyTypeCustomization@FPropertyEditorModule@@QEAA?AUFPropertyTypeLayoutCallback@@PEBVFProperty@@AEBVIPropertyHandle@@AEBV?$TMap@VFName@@UFPropertyTypeLayoutCallbackList@@VFDefaultSetAllocator@@U?$TDefaultMapHashableKeyFuncs@VFName@@UFPropertyTypeLayoutCallbackList@@$0A@@@@@@Z) referenced in function ....................
```
