Why do I get compile errors in Development config that don't exist in Development Editor config?

For example. I made this class weeks ago


Which is giving me an error

|Error|C3668|‘UAddAbilityGEComponent::IsDataValid’: method with override specifier ‘override’ did not override any base class methods

But it is overridden here

And if that were the case, why would the editor not care and regular Development does? I’ve tried removing the #if WITH_EDITOR around the func as well but it doesn’t make any difference. The parent of this class overrides in almost exactly the same way (except for what’s in the override function of course) and has no problems :slight_smile:

This one was because my declaration for that func in the header file was missing its #if WITH_EDITOR that is supposed to surround that func. Thanks!

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