Is there a limit to the number of interfaces an Actor can inherit from?

My player character class inherits from a number of interfaces. When I added an additional interface this time, I encountered the following problem.

UCLASS()
class LF_API ALFCharacterPlayer : public ALFCharacter, public IInteractionInstigator,
                                  public ILFSavableActor, public IFootstepInterface, public IPassiveSkillUser,
                                  public IGameplayTagAssetInterface, public IWeaponHolder, public IUnlockable,
                                  public IEquipmentHolder, public ILFTeamAgentInterface,
                                  public IGenericTeamAgentInterface, public ICameraBlockable,
                                  public IFirstPersonCharacter, public ICharacterActionFlag, public IJumpUser,
                                  public IItemOwner, public ICoilOwner,
                                  public IAttributeOwner, public IPassiveSkillOwner, public ICoilSkillUser,
                                  public IEquipmentOwner, public ILFCustomizeApplier, public IXPOwner,
                                  public IPlayerItemOwner, public IOptimizableObject, public IDynamicMaterialUser,
                                  public IMIDContainerOwner, public IInteractionUsingAnimBPOwner, public IVehicleDriver,
                                  public IToolUser, public IHandIKUser, public IAmmoManager, public IMagazineManager,
                                  public IPullable, public IRecoilReceiver, public IPostureLosable,
                                  public IEquipmentDurabilityUser,
                                  public IControllabilityOwner, public IAdditionalAttackUser, public INoiseMaker,
                                  public IGasMaskUser, public IMapMarkingUser,
                                  public IPedalingEntity, public IItemConsumer, public IWarpGateUser,
                                  public IAISpawnTrigger,
                                  public ICriticalAttackUser, public IVampAttackUser, public IInvincibilityUser, public IKioskUser,
                                  public IHealthRegenerationCondition , public IQuestExecutor, public ILFQuestExecutorExtender, public IDialoguePlayer, public ILFDialoguePlayerExtender, public IStreamingDataRouter,
								  public IItemDropRateModifier,
                                  public IContinuousAttackUser, public IDisplayer, public IForgeUser,
                                  public IDungeonChallenger, public ILFSequenceControlCommanderOwner,
                                  public IEquipmentDisplayPlatformUser, public INPCRequestTarget, public ICostumeStudioUser

The problem occurred when I inherited from ICostumeStudioUser.

const UECodeGen_Private::FImplementedInterfaceParams Z_Construct_UClass_ALFCharacterPlayer_Statics::InterfaceParams[] = {
			{ Z_Construct_UClass_UInteractionInstigator_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IInteractionInstigator), false },  // 1727007703
			{ Z_Construct_UClass_ULFSavableActor_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFSavableActor), false },  // 1193748557
			{ Z_Construct_UClass_UFootstepInterface_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IFootstepInterface), false },  // 1693968679
			{ Z_Construct_UClass_UPassiveSkillUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPassiveSkillUser), false },  // 19883379
			{ Z_Construct_UClass_UGameplayTagAssetInterface_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IGameplayTagAssetInterface), false },  // 3291755243
			{ Z_Construct_UClass_UWeaponHolder_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IWeaponHolder), false },  // 3681392844
			{ Z_Construct_UClass_UUnlockable_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IUnlockable), false },  // 2575642720
			{ Z_Construct_UClass_UEquipmentHolder_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IEquipmentHolder), false },  // 2245620876
			{ Z_Construct_UClass_ULFTeamAgentInterface_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFTeamAgentInterface), false },  // 253309385
			{ Z_Construct_UClass_UGenericTeamAgentInterface_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IGenericTeamAgentInterface), false },  // 4142440172
			{ Z_Construct_UClass_UCameraBlockable_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICameraBlockable), false },  // 766089083
			{ Z_Construct_UClass_UFirstPersonCharacter_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IFirstPersonCharacter), false },  // 2726858868
			{ Z_Construct_UClass_UCharacterActionFlag_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICharacterActionFlag), false },  // 2551950363
			{ Z_Construct_UClass_UJumpUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IJumpUser), false },  // 3500672038
			{ Z_Construct_UClass_UItemOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IItemOwner), false },  // 3969271616
			{ Z_Construct_UClass_UCoilOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICoilOwner), false },  // 270836987
			{ Z_Construct_UClass_UAttributeOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IAttributeOwner), false },  // 2069847021
			{ Z_Construct_UClass_UPassiveSkillOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPassiveSkillOwner), false },  // 616392464
			{ Z_Construct_UClass_UCoilSkillUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICoilSkillUser), false },  // 1411613941
			{ Z_Construct_UClass_UEquipmentOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IEquipmentOwner), false },  // 2807878517
			{ Z_Construct_UClass_ULFCustomizeApplier_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFCustomizeApplier), false },  // 2680604487
			{ Z_Construct_UClass_UXPOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IXPOwner), false },  // 2001360794
			{ Z_Construct_UClass_UPlayerItemOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPlayerItemOwner), false },  // 2323841894
			{ Z_Construct_UClass_UOptimizableObject_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IOptimizableObject), false },  // 3712181591
			{ Z_Construct_UClass_UDynamicMaterialUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IDynamicMaterialUser), false },  // 243508774
			{ Z_Construct_UClass_UMIDContainerOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IMIDContainerOwner), false },  // 2317022324
			{ Z_Construct_UClass_UInteractionUsingAnimBPOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IInteractionUsingAnimBPOwner), false },  // 3730435036
			{ Z_Construct_UClass_UVehicleDriver_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IVehicleDriver), false },  // 1975682176
			{ Z_Construct_UClass_UToolUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IToolUser), false },  // 2237073344
			{ Z_Construct_UClass_UHandIKUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IHandIKUser), false },  // 776296841
			{ Z_Construct_UClass_UAmmoManager_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IAmmoManager), false },  // 3797178500
			{ Z_Construct_UClass_UMagazineManager_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IMagazineManager), false },  // 2562070286
			{ Z_Construct_UClass_UPullable_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPullable), false },  // 823798866
			{ Z_Construct_UClass_URecoilReceiver_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IRecoilReceiver), false },  // 2166878931
			{ Z_Construct_UClass_UPostureLosable_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPostureLosable), false },  // 3743916940
			{ Z_Construct_UClass_UEquipmentDurabilityUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IEquipmentDurabilityUser), false },  // 2824954640
			{ Z_Construct_UClass_UControllabilityOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IControllabilityOwner), false },  // 2389740563
			{ Z_Construct_UClass_UAdditionalAttackUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IAdditionalAttackUser), false },  // 2317346169
			{ Z_Construct_UClass_UNoiseMaker_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, INoiseMaker), false },  // 1082434949
			{ Z_Construct_UClass_UGasMaskUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IGasMaskUser), false },  // 1549812650
			{ Z_Construct_UClass_UMapMarkingUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IMapMarkingUser), false },  // 3244829118
			{ Z_Construct_UClass_UPedalingEntity_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IPedalingEntity), false },  // 294655763
			{ Z_Construct_UClass_UItemConsumer_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IItemConsumer), false },  // 3813808026
			{ Z_Construct_UClass_UWarpGateUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IWarpGateUser), false },  // 1288081377
			{ Z_Construct_UClass_UAISpawnTrigger_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IAISpawnTrigger), false },  // 2353326489
			{ Z_Construct_UClass_UCriticalAttackUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICriticalAttackUser), false },  // 1197367616
			{ Z_Construct_UClass_UVampAttackUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IVampAttackUser), false },  // 3818171202
			{ Z_Construct_UClass_UInvincibilityUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IInvincibilityUser), false },  // 653819693
			{ Z_Construct_UClass_UKioskUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IKioskUser), false },  // 420972910
			{ Z_Construct_UClass_UHealthRegenerationCondition_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IHealthRegenerationCondition), false },  // 2896660118
			{ Z_Construct_UClass_UQuestExecutor_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IQuestExecutor), false },  // 4277802015
			{ Z_Construct_UClass_ULFQuestExecutorExtender_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFQuestExecutorExtender), false },  // 3118439557
			{ Z_Construct_UClass_UDialoguePlayer_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IDialoguePlayer), false },  // 35396020
			{ Z_Construct_UClass_ULFDialoguePlayerExtender_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFDialoguePlayerExtender), false },  // 2597669256
			{ Z_Construct_UClass_UStreamingDataRouter_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IStreamingDataRouter), false },  // 2014450431
			{ Z_Construct_UClass_UItemDropRateModifier_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IItemDropRateModifier), false },  // 2735074335
			{ Z_Construct_UClass_UContinuousAttackUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IContinuousAttackUser), false },  // 859856158
			{ Z_Construct_UClass_UDisplayer_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IDisplayer), false },  // 1264663525
			{ Z_Construct_UClass_UForgeUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IForgeUser), false },  // 4031478535
			{ Z_Construct_UClass_UDungeonChallenger_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IDungeonChallenger), false },  // 4284413294
			{ Z_Construct_UClass_ULFSequenceControlCommanderOwner_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ILFSequenceControlCommanderOwner), false },  // 357610219
			{ Z_Construct_UClass_UEquipmentDisplayPlatformUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, IEquipmentDisplayPlatformUser), false },  // 589401263
			{ Z_Construct_UClass_UNPCRequestTarget_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, INPCRequestTarget), false },  // 1357184639
			{ Z_Construct_UClass_UCostumeStudioUser_NoRegister, (int32)VTABLE_OFFSET(ALFCharacterPlayer, ICostumeStudioUser), false },  // 3198318822
		};
	static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_ALFCharacterPlayer_Statics::InterfaceParams) < 64);

Error C2607 : static assertion failed

As I understand it, the number of inherited interfaces that one actor class can implement seems to be limited to 64. Is there any way to get around this?

One way I can think of is to remove the interfaces from the actor, and access the component where the functionality is implemented via the GetComponent function.

If you have any other workarounds or advice, please let me know.

Not sure about this issue, but If I may say so, you may face complexities you never envisioned, apologize if it’s offended.