Development server build failed

Hello,

I just updated my project from 4.20 to 4.21 and I’m trying to setup a dedicated server for it. I’ve made a target file (exact copy of the GameEditorTarget but with “Editor” replaced with “Server”) but for some reason whenever I set my build configuration to “Development Server” I get build errors. This worked completely fine in 4.20. The errors I’m getting are:

If this is any help I’ll put my code for PostEditChangeProperty event below, but it shouldn’t be wrong as it works completely fine and doesn’t return me any errors with the Development Editor configuration. Also the functions are defined the exact same way in both actors Region and Flag.

Flag.h

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

	void PostInitProperties() override;

	void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;

Flag.cpp

void AFlag::PostInitProperties()
{
	Super::PostInitProperties();

	UpdateFlagProperties();
}


#if WITH_EDITOR
void AFlag::PostEditChangeProperty(FPropertyChangedEvent & PropertyChangedEvent)
{
	UpdateFlagProperties();

	Super::PostEditChangeProperty(PropertyChangedEvent);
}
#endif

Thanks in advance, all help is appreciated! :slight_smile:

~Stefan