I created a new UFactory through the engine and added the UnrealED module, but why does it still report an error?
Don’t forget to generate the definition on .cpp.
It must be something like:
FText URT20Factory::GetDisplayName() const
{
return Super::GetDisplayName();
}
Otherwise, if you don’t want to define it on .cpp, you can do it on .h like this
public:
FText SomeText;
virtual FText GetDisplayName() const override { return SomeText; };
Thank you, this is indeed the reason