I’m discovering that the static function UAbilitySystemComponent* UAbilitySystemGlobals::GetAbilitySystemComponentFromActor(const AActor* Actor, bool LookForComponent)
is being called from many different places in the project with the default of having LookForComponent be false. In practice, this means that any actor will be considered invalid if it doesn’t implement IAbilitySystemInterface, even if it has an Ability System Component attached. This makes the component itself pointless as you are forced to edit the base class no matter what. If LookForComponent is true, FindComponentByClass will be used but all existing calls to it use the default parameter of false.
Is there any way Epic can adjust the plugin to make the LookForComponent default value be configurable? I’d hate to have to duplicate the entire plugin just to toggle this one bool.
I discovered that you can override the UAbilitySystemGlobals class your project uses, but this still does not allow me to edit the default parameter or behavior of a static function.