cannot create c++ widget class ue 5.4.4

hello, everyone! can anyone help me please?
i’m trying to create a new c++ class inherited from UEditorUtilityWidget (i don’t have any problems with classes inherited from UAssetActionUtility for example) , but it’s created only in visual studio and then cannot be compiled and hence doesn’t appear in engine. it shows 87 errors most of which are LNK2001 and one is MSB3073 (code 6).
all similar posts i could find here didn’t help me yet. i tried removing binaries, regenerating project files, cleaning and rebealding solution. i checked my visual studio details and modified them a few times and maybe even added a lot of redundant things.
my ue version is 5.4.4, and vs version is 2022-17.11.5

It’s a bit late, and you may have already found the answer, but what it sounds like you need is to go to YourProjectName.Build.cs, find the line with PublicDependencyModuleNames.AddRange and add “UMG” to the list.

Worked for me.

1 Like

yeah! i added several different moduls there including UMG and it started working! so probably that was it! thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.